Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@awx:~/tower$ history
- 1 minikube start --cpus=4 --memory=6g --addons=ingress --vm-driver=docker
- 2 kubectl get all
- 3 curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
- 4 ls
- 5 sudo mv kustomize /usr/local/bin/
- 6 vim kustomization.yaml
- 7 kustomize build . | kubectl apply -f -
- 8 kubectl get pods -n awx
- 9 kubectl config set-context --current --namespace=awx
- 10 kubectl get all
- 11 history
- 12 vim awx-demo.yaml
- 13 vim kustomization.yaml
- 14 kustomize build . | kubectl apply -f -
- 15 kubectl get all
- 16 history
- student@awx:~/tower$ cat kustomization.yaml
- apiVersion: kustomize.config.k8s.io/v1beta1
- kind: Kustomization
- resources:
- # Find the latest tag here: https://github.com/ansible/awx-operator/releases
- - github.com/ansible/awx-operator/config/default?ref=2.7.0
- - awx-demo.yaml
- # Set the image tags to match the git version from above
- images:
- - name: quay.io/ansible/awx-operator
- newTag: 2.7.0
- # Specify a custom namespace in which to install AWX
- namespace: awx
Advertisement
Add Comment
Please, Sign In to add comment