mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 04:15:02 -02:30
Merge pull request #10157 from AlanCoding/minikube_docs
minikube instructions adjustments from debugging SUMMARY The awx-operator examples expect the tower_image_version as a separate var, and can error without that. Also, there's still an issue getting going with ansible/deploy-operator.yml's Deploy Operator task. I'm still looking into that, the associated hack might change. ISSUE TYPE Docs Pull Request COMPONENT NAME API AWX VERSION 19.1.0 Reviewed-by: Shane McDonald <me@shanemcd.com>
This commit is contained in:
@@ -58,7 +58,7 @@ $ ansible-playbook ansible/deploy-operator.yml \
|
|||||||
## Deploy AWX into Minikube using the AWX Operator
|
## Deploy AWX into Minikube using the AWX Operator
|
||||||
|
|
||||||
If have have not made any changes to the AWX Dockerfile, run the following
|
If have have not made any changes to the AWX Dockerfile, run the following
|
||||||
command. If you need to test out changes to the Dockerfile, see the
|
command. If you need to test out changes to the Dockerfile, see the
|
||||||
"Custom AWX Development Image for Kubernetes" section below.
|
"Custom AWX Development Image for Kubernetes" section below.
|
||||||
|
|
||||||
In the root of awx-operator:
|
In the root of awx-operator:
|
||||||
@@ -66,7 +66,8 @@ In the root of awx-operator:
|
|||||||
```
|
```
|
||||||
$ ansible-playbook ansible/instantiate-awx-deployment.yml \
|
$ ansible-playbook ansible/instantiate-awx-deployment.yml \
|
||||||
-e development_mode=yes \
|
-e development_mode=yes \
|
||||||
-e tower_image=quay.io/awx/awx_kube_devel:devel \
|
-e tower_image=quay.io/awx/awx_kube_devel \
|
||||||
|
-e tower_image_version=devel \
|
||||||
-e tower_image_pull_policy=Always \
|
-e tower_image_pull_policy=Always \
|
||||||
-e tower_ingress_type=ingress
|
-e tower_ingress_type=ingress
|
||||||
```
|
```
|
||||||
@@ -89,13 +90,14 @@ In the root of awx-operator:
|
|||||||
```
|
```
|
||||||
$ ansible-playbook ansible/instantiate-awx-deployment.yml \
|
$ ansible-playbook ansible/instantiate-awx-deployment.yml \
|
||||||
-e development_mode=yes \
|
-e development_mode=yes \
|
||||||
-e tower_image=quay.io/awx/awx_kube_devel:${COMPOSE_TAG} \
|
-e tower_image=quay.io/awx/awx_kube_devel \
|
||||||
|
-e tower_image_version=${COMPOSE_TAG} \
|
||||||
-e tower_image_pull_policy=Always \
|
-e tower_image_pull_policy=Always \
|
||||||
-e tower_ingress_type=ingress
|
-e tower_ingress_type=ingress
|
||||||
```
|
```
|
||||||
|
|
||||||
To iterate on changes to the Dockerfile, rebuild and push the image, then delete
|
To iterate on changes to the Dockerfile, rebuild and push the image, then delete
|
||||||
the AWX Pod. A new Pod will respawn with the latest revision.
|
the AWX Pod. A new Pod will respawn with the latest revision.
|
||||||
|
|
||||||
## Accessing AWX
|
## Accessing AWX
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user