awx.ansible.com down?

error: unable to recognize “awx-demo.yml”: no matches for kind “AWX” in version "awx.ansible.com/v1beta1

Trying to pull this into our AKS cluster and hitting this. Looks like awx.ansible.com does not resolve.

% dig awx.ansible.com @1.1.1.1

; <<>> DiG 9.10.6 <<>> awx.ansible.com @1.1.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23994
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;awx.ansible.com. IN A

;; AUTHORITY SECTION:
ansible.com. 3600 IN SOA andy.ns.cloudflare.com. dns.cloudflare.com. 2267590434 10000 2400 604800 3600

;; Query time: 23 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Wed Feb 16 11:28:43 EST 2022
;; MSG SIZE rcvd: 103

Anyone know whats going on?

Thanks

awx.ansible.com is the reference to the Custom Resource Type in kubernetes, not a domain name.

When you install the operator to a namespace, you define these extensions of the kubernetes api

…copying from the awx-operator readme…

$ export NAMESPACE=my-namespace
$ make deploy
/home/user/awx-operator/bin/kustomize build config/default | kubectl apply -f -
namespace/my-namespace created
customresourcedefinition.apiextensions.k8s.io/awxbackups.awx.ansible.com created
customresourcedefinition.apiextensions.k8s.io/awxrestores.awx.ansible.com created
customresourcedefinition.apiextensions.k8s.io/awxs.awx.ansible.com created
serviceaccount/awx-operator-controller-manager created
role.rbac.authorization.k8s.io/awx-operator-leader-election-role created
role.rbac.authorization.k8s.io/awx-operator-manager-role created
clusterrole.rbac.authorization.k8s.io/awx-operator-metrics-reader created
clusterrole.rbac.authorization.k8s.io/awx-operator-proxy-role created
rolebinding.rbac.authorization.k8s.io/awx-operator-leader-election-rolebinding created
rolebinding.rbac.authorization.k8s.io/awx-operator-manager-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/awx-operator-proxy-rolebinding created
configmap/awx-operator-manager-config created
service/awx-operator-controller-manager-metrics-service created
deployment.apps/awx-operator-controller-manager created

It looks to me like perhaps you are trying to create an AWX in a namespace that does not have the operator/does not ave the api extensions

Perhaps walking through the operator installation one more time and making sure you are using the same namespace for everything may help you get past your problem
https://github.com/ansible/awx-operator#awx-operator