getting error "Error from server (NotFound): services \"awx-postgresql\" not found",

Skip to first unread message

Anish kumar

Mar 31, 2023, 3:20:28 AM3/31/23
to Ansible Development

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


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": []




Frank Dias

Mar 31, 2023, 12:30:46 PM3/31/23
to Anish kumar, Ansible Development
Version 10 does not support kibernetes, the first version to support was 18. Look at the latest version and the documents for kubernetes installation

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
To view this discussion on the web visit
Reply all
Reply to author
0 new messages