logo
0
0
Login
update pv and sts-postgres
curl -fsSL https://mirrors.cloud.tencent.com/kubernetes_new/core:/stable:/v1.33/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://mirrors.tencent.com/kubernetes_new/core:/stable:/v1.33/deb/ / # deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://mirrors.tencent.com/kubernetes_new/addons:/cri-o:/stable:/v1.33/deb/ /

clone repo

git clone git@github.com:ansible/awx-operator.git

switch tag

cd awx-operator git tag git checkout tags/<tag>

For instance:

git checkout tags/2.19.1

export version

export VERSION=<tag>

For instance:

export VERSION=2.19.1

generate kustomization.yaml

kubectl kustomize . > awx-operator.yaml

install awx-operator

kubectl apply -k awx-operator

update kustomization.yaml

deploy awx

kubectl create namespace awx kubectl apply -k awx-operator kubectl get pods -n awx --watch

check pods

kubectl get pods -l "app.kubernetes.io/managed-by=awx-operator" -n awx
NAME READY STATUS RESTARTS AGE awx-demo-postgres-13-0 1/1 Running 0 47h awx-demo-task-68d5bb94fc-46872 4/4 Running 0 47h awx-demo-web-594cc6c687-bpfqb 3/3 Running 0 47h

first time login

Username: admin

The default password is found by running this command and copying the echo statement.

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