Hello Team,
I am trying to install AWX 10.0.0 on Kubernetes 1.26 on the Amazon Ec2 instance
Hardware: - 16GB RAM with 4core CPU with nfs deplyed for dynamic pV
kubectl config set-context kubeawx --namespace=awx --user=kubernetes-admin --cluster=kubernetes
Context "kubeawx" created.
kubectl config get-contexts
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
* kubeawx kubernetes kubernetes-admin awx
Download he repo from this link https://github.com/ansible/awx/releases?after=16.0.0
wget https://github.com/ansible/awx/archive/refs/tags/10.0.0.tar.gz
unzip the file
tar -xzvf 10.0.0.tar.gz
cd / /home/ec2-user/awx-10.0.0/installer
then open inventory
vi inventory and change below option
Provide values for the following variables found in the [all:vars] section in the inventory file under the path /awx/installer.
· kubernetes_context
· kubernetes_namespace
· pg_persistence_storageClass
I am getting error while deploying AWX on Kubernetes
fatal: [localhost]: FAILED! => {
"changed": true,
"cmd": "kubectl describe svc awx-postgresql -n awx",
"delta": "0:00:00.265102",
"end": "2023-03-31 06:46:00.474316",
"invocation": {
"module_args": {
"_raw_params": "kubectl describe svc awx-postgresql -n awx",
"_uses_shell": true,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2023-03-31 06:46:00.209214",
"stderr": "Error from server (NotFound): services \"awx-postgresql\" not found",
"stderr_lines": [
"Error from server (NotFound): services \"awx-postgresql\" not found"
],
"stdout": "",
"stdout_lines": []
}
--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/b4154e27-b18f-42e0-9623-688ed51ee1a3n%40googlegroups.com.