Ansible-Tower-AWX-Installation

Опубликовано: 17 Март 2024
на канале: DevOpsBuddies
1,760
11

git clone https://github.com/ansible/awx-operat...
cd awx-operator
git checkout tags/2.7.2
export VERSION=2.7.2

There is a make target you can run:

make deploy

create a file called kustomization.yaml with the following content:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
github.com/ansible/awx-operator/config/default?ref=tag
images:
name: quay.io/ansible/awx-operator
newTag: tag
namespace: awx

Install the manifests by running this:

$ kubectl apply -k .

Wait a bit and you should have the awx-operator running

Make sure to add this new file to the list of "resources" in your kustomization.yaml file:

...
resources:
github.com/ansible/awx-operator/config/default?ref=tag
Add this extra line:
awx-demo.yml
...
Finally, apply the changes to create the AWX instance in your cluster:

kubectl apply -k .


After a few seconds, you should see the operator begin to create new resources:

Once deployed, the AWX instance will be accessible by kubernetes nodeip:nodeport

By default, the admin user is admin and the password is available in the {resourcename}-admin-password secret. To retrieve the admin password, run:

$ kubectl get secret awx-demo-admin-password -o jsonpath="{.data.password}" | base64 --decode ; echo


Смотрите видео Ansible-Tower-AWX-Installation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь DevOpsBuddies 17 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,760 раз и оно понравилось 11 людям.