Last active
October 12, 2022 21:13
-
-
Save mamercad/0b0d1df569c485421c86aaa334f95a8a to your computer and use it in GitHub Desktop.
k3s + awx-operator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awx-operator devel* ≡ | |
❯ kubectl get nodes | awk '{print $5}' | |
VERSION | |
v1.24.4+k3s1 | |
v1.24.4+k3s1 | |
v1.24.4+k3s1 | |
v1.24.4+k3s1 | |
v1.24.4+k3s1 | |
awx-operator devel* ≡ | |
❯ kubectl get deployments.apps -n awx | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
awx-operator-controller-manager 1/1 1 1 2m9s | |
awx-operator devel* ≡ | |
❯ cat kustomization.yml | |
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=0.30.0 | |
# Set the image tags to match the git version from above | |
images: | |
- name: quay.io/ansible/awx-operator | |
newTag: 0.30.0 | |
# Specify a custom namespace in which to install AWX | |
namespace: awx | |
awx-operator devel* ≡ | |
❯ kubectl get deployments.apps -n awx | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
awx-demo 1/1 1 1 56s | |
awx-operator-controller-manager 1/1 1 1 6m42s | |
awx-operator devel* ≡ | |
❯ cat awx-demo.yml | |
--- | |
apiVersion: awx.ansible.com/v1beta1 | |
kind: AWX | |
metadata: | |
name: awx-demo | |
namespace: awx | |
spec: | |
service_type: loadbalancer | |
awx-operator devel* ≡ | |
❯ kubectl get svc -n awx awx-demo-service | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
awx-demo-service LoadBalancer 10.43.234.202 192.168.1.131 80:30343/TCP 4m24s | |
awx-operator devel* ≡ | |
❯ curl -s http://192.168.1.131 | tail -1 | |
<!doctype html><html lang="en"><head><script nonce="CI5d4LY7TgF/NlmnmkH/UNgcdzMA1lnrWrL33e1x4f8=" type="text/javascript">window.NONCE_ID="CI5d4LY7TgF/NlmnmkH/UNgcdzMA1lnrWrL33e1x4f8="</script><meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self' ws: wss:; style-src 'self' 'unsafe-inline'; script-src 'self' 'nonce-CI5d4LY7TgF/NlmnmkH/UNgcdzMA1lnrWrL33e1x4f8=' *.pendo.io; img-src 'self' *.pendo.io data:; worker-src 'self' blob: ;"/><link rel="shortcut icon" href="/static/media/favicon.ico"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="AWX"/><script defer="defer" src="./static/js/main.1acf4072.js"></script><link href="./static/css/main.543ff474.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><style nonce="CI5d4LY7TgF/NlmnmkH/UNgcdzMA1lnrWrL33e1x4f8=">.app{height:100%}</style><div id="app" class="app"></div></body></html>% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment