# Awx Kubernetes Installation

**URL:** <https://forum.ansible.com/t/awx-kubernetes-installation/31179>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [August 30, 2019, 3:11pm UTC](https://forum.ansible.com/t/awx-kubernetes-installation/31179 "2019-08-30T15:11:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Praveen\_Kumar](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@Praveen\_Kumar](https://forum.ansible.com/u/Praveen_Kumar)\
**Post date:** [August 30, 2019, 3:11pm UTC](https://forum.ansible.com/t/awx-kubernetes-installation/31179/1 "2019-08-30T15:11:26Z")

</div>

Hi,

My Kubernetes installation is failing at the following step…I am not setting up any external Postgres . I have deployed the tiller image in the same namespace as that of Kuberntes and defined the variables in inventory file.  
Please let me know if any one has come across the same issue and the fix for the same.

kubernetes\_namespace=awx-namespace  
tiller\_namespace=awx-namespace

TASK [kubernetes : Deploy and Activate Postgres (Kubernetes)] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “helm repo update --tiller-namespace=is-linux-is\n helm upgrade awx-postgresql --install --namespace awx-namespace --set postgresqlUsername=awx --set postgresqlPassword=somepass --set postgresqlDatabase=awx --set persistence.size=5Gi --version="2.0.0" --tiller-namespace=awx-namespace stable/postgresql”, “delta”: “0:01:07.359405”, “end”: “2019-08-30 10:02:41.512504”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-08-30 10:01:34.153099”, “stderr”: “Error: UPGRADE FAILED: Get [https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%!D(MISSING)awx-postgresql%!C(MISSING)OWNER%!D(MISSING)TILLER%!C(MISSING)STATUS%!D(MISSING)DEPLOYED:](https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%25!D(MISSING)awx-postgresql%25!C(MISSING)OWNER%25!D(MISSING)TILLER%25!C(MISSING)STATUS%25!D(MISSING)DEPLOYED:) dial tcp 192.168.0.1:443: i/o timeout”, “stderr\_lines”: [“Error: UPGRADE FAILED: Get [https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%!D(MISSING)awx-postgresql%!C(MISSING)OWNER%!D(MISSING)TILLER%!C(MISSING)STATUS%!D(MISSING)DEPLOYED:](https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%25!D(MISSING)awx-postgresql%25!C(MISSING)OWNER%25!D(MISSING)TILLER%25!C(MISSING)STATUS%25!D(MISSING)DEPLOYED:) dial tcp 192.168.0.1:443: i/o timeout”], “stdout”: “Hang tight while we grab the latest from your chart repositories…\n…Skip local chart repository\n…Successfully got an update from the "stable" chart repository\nUpdate Complete.\nUPGRADE FAILED\nError: Get [https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%!D(MISSING)awx-postgresql%!C(MISSING)OWNER%!D(MISSING)TILLER%!C(MISSING)STATUS%!D(MISSING)DEPLOYED:](https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%25!D(MISSING)awx-postgresql%25!C(MISSING)OWNER%25!D(MISSING)TILLER%25!C(MISSING)STATUS%25!D(MISSING)DEPLOYED:) dial tcp 192.168.0.1:443: i/o timeout”, “stdout\_lines”: [“Hang tight while we grab the latest from your chart repositories…”, “…Skip local chart repository”, “…Successfully got an update from the "stable" chart repository”, “Update Complete.”, “UPGRADE FAILED”, “Error: Get [https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%!D(MISSING)awx-postgresql%!C(MISSING)OWNER%!D(MISSING)TILLER%!C(MISSING)STATUS%!D(MISSING)DEPLOYED:](https://192.168.0.1:443/api/v1/namespaces/awx-namespace/configmaps?labelSelector=NAME%25!D(MISSING)awx-postgresql%25!C(MISSING)OWNER%25!D(MISSING)TILLER%25!C(MISSING)STATUS%25!D(MISSING)DEPLOYED:) dial tcp 192.168.0.1:443: i/o timeout”]}

$ kubectl get pods|grep tiller  
tiller-deploy-6bf7c884d5-7nf4t 1/1 Running 0 20h
