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

**URL:** <https://forum.ansible.com/t/error-from-server-notfound-services-awx-postgresql-not-found/37834>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [March 31, 2023, 7:22am UTC](https://forum.ansible.com/t/error-from-server-notfound-services-awx-postgresql-not-found/37834 "2023-03-31T07:22:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anish\_kumar1](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/anish_kumar1/32/5258_2.png) [@Anish\_kumar1](https://forum.ansible.com/u/Anish_kumar1)\
**Post date:** [March 31, 2023, 7:22am UTC](https://forum.ansible.com/t/error-from-server-notfound-services-awx-postgresql-not-found/37834/1 "2023-03-31T07:22:17Z")

</div>

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

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](https://github.com/ansible/awx/releases?after=16.0.0)

wget [https://github.com/ansible/awx/archive/refs/tags/10.0.0.tar.gz](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”:

}

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 31, 2023, 5:51pm UTC](https://forum.ansible.com/t/error-from-server-notfound-services-awx-postgresql-not-found/37834/2 "2023-03-31T17:51:54Z")

</div>

Hi, did you mean to pull awx 10.0.0? that certainly won’t work

The recommended way to deploy AWX is through the awx-operator. This will install the latest version of AWX by default. see the instructions here [https://github.com/ansible/awx-operator](https://github.com/ansible/awx-operator)

AWX Team
