Pete Scudamore
It seems that the Helm client is unable to connect to the Kubernetes cluster API. What happens if you simply run the helm list command?
It should return
~$ helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
The Pods seem to be correct, here is what our test environment looks like. (Sorry but I can't actually upload the image on Hashnode, it failed each time...)
xxxxxxx@CISEL-CG92373NY:~$ kubectl get pods
NAME READY STATUS RESTARTS AGE
awx-operator-5595d6fc57-wrgq4 1/1 Running 3 39d
awx-79d94fd5fb-slp59 4/4 Running 12 39d
awx-postgres-0 1/1 Running 3 39d
xxxxxxx@CISEL-CG92373NY:~$ kubectl get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
awx-operator-5595d6fc57-wrgq4 1/1 Running 3 39d 10.1.130.15 xxxxxxx <none> <none>
awx-79d94fd5fb-slp59 4/4 Running 12 39d 10.1.130.6 xxxxxxx <none> <none>
awx-postgres-0 1/1 Running 3 39d 10.1.130.9 xxxxxxx <none> <none>
xxxxxxx@CISEL-CG92373NY:~$ kubectl get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.152.183.1 <none> 443/TCP 62d
awx-operator-metrics ClusterIP 10.152.183.241 <none> 8383/TCP,8686/TCP 39d
awx-postgres ClusterIP None <none> 5432/TCP 39d
awx-service NodePort 10.152.183.120 <none> 80:31298/TCP 39d
xxxxxxx@CISEL-CG92373NY:~$ kubectl get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
awx-ingress <none> xxxxxxx.cisel.ch 172.20.11.159 80, 443 62d
And MetalLB config
xxxxxxx@CISEL-CG92373NY:~$ kubectl -n metallb-system describe cm config
Name: config
Namespace: metallb-system
Labels: <none>
Annotations: <none>
Data
====
config:
----
address-pools:
- name: default
protocol: layer2
addresses:
- 172.20.11.159-172.20.11.162
Events: <none>
xxxxxxx@CISEL-CG92373NY:~$
As for the IP range in MetalLB, you need to use the same subnet as your server or workstation.
should I ignore the following errors?
kubectl apply -f awxconfig.yaml error: error validating "awxconfig.yaml": error validating data: [ValidationError(AWX.spec): unknown field "tower_create_preload_data" in com.ansible.awx.v1beta1.AWX.spec, ValidationError(AWX.spec): unknown field "tower_hostname" in com.ansible.awx.v1beta1.AWX.spec, ValidationError(AWX.spec): unknown field "tower_image_pull_policy" in com.ansible.awx.v1beta1.AWX.spec, ValidationError(AWX.spec): unknown field "tower_ingress_type" in com.ansible.awx.v1beta1.AWX.spec]; if you choose to ignore these errors, turn validation off with --validate=false