# AWX Operator Installation issue

**URL:** <https://forum.ansible.com/t/awx-operator-installation-issue/37057>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 1, 2022, 5:52am UTC](https://forum.ansible.com/t/awx-operator-installation-issue/37057 "2022-09-01T05:52:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![neha0021997](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@neha0021997](https://forum.ansible.com/u/neha0021997)\
**Post date:** [September 1, 2022, 5:52am UTC](https://forum.ansible.com/t/awx-operator-installation-issue/37057/1 "2022-09-01T05:52:17Z")

</div>

Hi Team,

I am installing AWX first time on my MAC terminal (MACOS Monetary version 12.5). Here is the URL( [https://github.com/ansible/awx-operator](https://github.com/ansible/awx-operator)) from which I am following the required steps.

I am getting the correct output of each command (mentioned here). But while running for the command: minikube service awx-demo-service --url

I got the below error:

Exiting due to SVC\_NOT\_FOUND: Service ‘awx-demo-service’ was not found in ‘default’ namespace.

You may select another namespace by using ‘minikube service awx-demo-service -n ’. Or list out all the services using ‘minikube service list’

Here, Please find the terminal output attached. In the same, you can see the exact result of my commands

> **(attachments)**
>
> [Terminal Saved Output](https://forum.ansible.com/uploads/short-url/vjwmYJ4HpoIgmLy9EfOA4QP1cZu) (236 KB)

---

<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:** [September 2, 2022, 5:14pm UTC](https://forum.ansible.com/t/awx-operator-installation-issue/37057/2 "2022-09-02T17:14:29Z")

</div>

the operator is running the awx namespace

append your command with “-n awx”

or, you can run “kubectl config set-context --current --namespace=awx” to temporarily change your namespace so that you don’t have to append “-n awx” to each kubectl command

Hope that helps

AWX Team

---

<div class="post-metadata">

**Author:** ![neha0021997](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@neha0021997](https://forum.ansible.com/u/neha0021997)\
**Post date:** [September 5, 2022, 7:42am UTC](https://forum.ansible.com/t/awx-operator-installation-issue/37057/3 "2022-09-05T07:42:18Z")

</div>

Thankyou, this works. Now I am able to access the UI.  
One more question though, can I run the playbook using available API. Could you please let me know if there is any API and how to run the same.

Thanks & Regards

Neha Singh

---

<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:** [September 7, 2022, 6:43pm UTC](https://forum.ansible.com/t/awx-operator-installation-issue/37057/4 "2022-09-07T18:43:58Z")

</div>

Hi Neha,

Yes, there is a browse-able API you can interact with via the browser, there are some general docs on that here:

- [https://docs.ansible.com/automation-controller/latest/html/controllerapi/browseable.html](https://docs.ansible.com/automation-controller/latest/html/controllerapi/browseable.html)

There are some swagger docs that has descriptions of each API endpoint:

- [https://docs.ansible.com/automation-controller/latest/html/controllerapi/api\_ref.html](https://docs.ansible.com/automation-controller/latest/html/controllerapi/api_ref.html)

This endpoint is the one you want to be able to launch a job template (which will create a job to run the playbook specified in the job\_template you launch):

- [https://docs.ansible.com/automation-controller/latest/html/controllerapi/api\_ref.html#/Job\_Templates/Job\_Templates\_job\_templates\_launch\_create](https://docs.ansible.com/automation-controller/latest/html/controllerapi/api_ref.html#/Job_Templates/Job_Templates_job_templates_launch_create)

You can also interact with the AWX API using curl or the awxkit cli tool:

- [https://github.com/ansible/awx/tree/devel/awxkit](https://github.com/ansible/awx/tree/devel/awxkit)

You can install this by running the following at the root of your checkout of the awx repository.

pip install -e awxkit/

Thanks,  
AWX Team
