# The Scale up deployment task is failing

**URL:** <https://forum.ansible.com/t/the-scale-up-deployment-task-is-failing/30646>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [June 25, 2019, 11:40am UTC](https://forum.ansible.com/t/the-scale-up-deployment-task-is-failing/30646 "2019-06-25T11:40:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashok\_kumar](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@ashok\_kumar](https://forum.ansible.com/u/ashok_kumar)\
**Post date:** [June 25, 2019, 11:40am UTC](https://forum.ansible.com/t/the-scale-up-deployment-task-is-failing/30646/1 "2019-06-25T11:40:43Z")

</div>

Hi team,

While installing AWX on Kubernetes getting below error. Please help me on this.

TASK [kubernetes : Scale up deployment] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “kubectl -n 2304378531 scale sts awx --replicas=1\n kubectl -n 2304378531 scale sts awx --replicas=0”, “delta”: “0:00:04.108806”, “end”: “2019-06-25 17:07:23.390558”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-06-25 17:07:19.281752”, “stderr”: “Error from server (NotFound): statefulsets.apps "awx" not found\nError from server (NotFound): statefulsets.apps "awx" not found”, “stderr\_lines”: [“Error from server (NotFound): statefulsets.apps "awx" not found”, “Error from server (NotFound): statefulsets.apps "awx" not found”], “stdout”: “”, “stdout\_lines”: }

to retry, use: --limit @/Users/ashok.g/Downloads/awx-devel/installer/install.retry

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

localhost : ok=23 changed=10 unreachable=0 failed=1

---

<div class="post-metadata">

**Author:** ![Raja\_V](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@Raja\_V](https://forum.ansible.com/u/Raja_V)\
**Post date:** [July 29, 2019, 3:35am UTC](https://forum.ansible.com/t/the-scale-up-deployment-task-is-failing/30646/2 "2019-07-29T03:35:33Z")

</div>

hi,

Check the quota and increase it else Try to change the value to 1 in the Kubernetes-Task - Mail.yml

from replicas=0 to replicas=1.

Regards,  
Rja V
