sandervanvugt

awe setup on ubuntu workstation

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