AWX-OPERATOR and Minikube

Hello Members,
Has anyone been ablle to configure and use the awx-operator?
Has anyone been able to keep it running?

I have downloaded from GIT the awx-operator
I have installed kubectl.
I have run the minikube install process as found on GitHub and other places
I have configured the awx-demo.yaml fire for my environment.

I have run the kubectl get nodes, get pods, minikube service, and all the other kubectl-based
commands to see if things are working - sometimes it works, sometimes not.

after this I set an http proxy, and an https proxy, and a NO_PROXY=192.168.49.2
I try to run minikube tunnel in the background “minikube tunnel &”
and try to do the port-forward thing in the background as well

Sometimes I can access the site from my network ip using the port - like 31480, etc.
BUT I cannot run the demo program, and cannot access the /var/lib/awx/projects folder or add subdiretories to it. With the older version of AWX (17)I can access the folder run playbooks, etc . This folder is outside the awx_task containter.
There is no awx_task folder with awx-operator - just a kubernetes container/pod of some

sort - I can see services, namespaces (nginx, etc) bot that is all.

Any suggestions on what I am missing with this??
Tfhanks
ewholz

Hi ewholz,

Just to clarify, you are wanting to use a manual project?
Also, is your projects directory persistent? docs on this second question here: https://github.com/ansible/awx-operator#persisting-projects-directory

cheers,
Beccah

Thank you very much for the reply - the project I want to use is “manual” I will check the link you provided. Also demo project that uses GIT

does not work/is not accessible from my instance - So I guess the “pod” or whatever cannot get outside its environment. I am using port-forward to

the virtual machine’s IP address. I can log in, etc but cannot access or run any playbook.

Thanks for the reply, I will check link above

ewholz

Where do I put the spec file for the persistent projects dir?

Hi,

If you are following the installation guide here, you would put these persistent projects options in the awx-demo.yml file

awx-demo.yml creation here https://github.com/ansible/awx-operator#basic-install-on-minikube-beginner-or-testing

persistent projects options here https://github.com/ansible/awx-operator#persisting-projects-directory

Let me know if that helps,

Seth

Seth,
Thanks for reply - I will check the links. To get awx-operator working is a non-trivial process.
I can get the awx-manager-operator running, a postgress rinning, and even a service in my exported namespace.
I can also get the port-forward and minikube tunnel working, but no access anywhere to procjects or the GIT demo program. I will review your links, ans see “what’s the haps”
Thanks,
ewholz