Hello Members,
I am finally able to get an AWX-OPERATOR configured and running on kubernetes.
This is thanks to Calvin Remsburg’s youtube video “Up and Running with AWX”
But… I am behind a firewall - and do not have access to the internet except
under special circumstances. I can connect to the internet to get awx up and running, and kubernetes.
But as soon as I restart the virtual machine - that can only access the internet thru
a proxy - the awx-operator image will not install and cannot be pulled.
Is there anyway to configure awx-operator to run without constant connection
to the internet??
I’ve only ever needed to override individual images when testing a custom awx image etc, so I’ve never done exactly what you are talking about.
awx-operator and awx are going to need a number of images (awx-operator, awx, redis, nginx, etc), you either need to get these into a registry you can pull from inside your network and then override all the variables everywhere to reference the new registry/images…thats a lot of work, may take several tries to find all the images you need to mirror and override. But I think perhaps you can do something on your kubernetes config to be able to configure your proxy. See if the following make any sense to you:
What Elijah described of creating a mirrored registry and swapping out image references should work for the awx-operator.
This in particular is something that is made much easier with Ansible Automation Platform on Openshift. Openshift has some built in tooling for mirroring registries and the images used for AAP have a mechanism to handle swapping out the image references when using a mirrored registry. I am not sure if you are on a k8s or openshift cluster, but you may be able to use an image content source policy to achieve the image swap if you are on openshift.
Thanks guys for the input - yes very complex - can can almost get things working, but as soon as I
get off my internet connection - I cannot get the images, etc. I will review your suggestions,