AWX-OPERATOR and Minikube

710 views
Skip to first unread message

ewh...@gmail.com

unread,
Feb 25, 2022, 7:39:14 PM2/25/22
to AWX Project

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

Rebeccah Hunter

unread,
Mar 2, 2022, 3:52:12 PM3/2/22
to AWX Project
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

ewh...@gmail.com

unread,
Mar 4, 2022, 11:48:46 AM3/4/22
to AWX Project
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

ewh...@gmail.com

unread,
Mar 4, 2022, 11:49:49 AM3/4/22
to AWX Project
Where do I put the spec file for the persistent projects dir?

Seth Foster

unread,
Mar 9, 2022, 3:55:24 PM3/9/22
to AWX Project
Hi,

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



Let me know if that helps,

Seth

ewh...@gmail.com

unread,
Mar 10, 2022, 10:50:35 AM3/10/22
to AWX Project
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
Reply all
Reply to author
Forward
0 new messages