Closed juangom closed 5 years ago
I can definitely update the awx statefulsets to apps/v1. Unfortunately I don't control the stable/postgres, stable/rabbitmq, and stable/memcached charts and they have a bit of a backlog merging apps/v1 updates to the stable charts.
I'll see what I can do to copy / update the subcharts here.
Can you try 1.1.0
?
The web pod if failing continuosly
NAME READY STATUS RESTARTS AGE
awx-546dbf7cc5-cjbgc 1/2 CrashLoopBackOff 4 2m38s
awx-memcached-0 1/1 Running 0 2m38s
awx-memcached-1 1/1 Running 0 2m31s
awx-memcached-2 0/1 Pending 0 2m18s
awx-postgresql-0 0/1 Pending 0 2m38s
awx-rabbitmq-0 0/1 Pending 0 2m38s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned default/awx-546dbf7cc5-cjbgc to node2.k8s
Normal Pulled 3m11s kubelet, node2.k8s Container image "ansible/awx_task:7.0.0" already present on machine
Normal Created 3m11s kubelet, node2.k8s Created container task
Normal Started 3m11s kubelet, node2.k8s Started container task
Warning Unhealthy 2m20s (x4 over 3m) kubelet, node2.k8s Readiness probe failed: Get http://10.44.0.1:8052/: dial tcp 10.44.0.1:8052: connect: connection refused
Normal Pulled 2m15s (x3 over 3m12s) kubelet, node2.k8s Container image "ansible/awx_web:7.0.0" already present on machine
Normal Started 2m15s (x3 over 3m11s) kubelet, node2.k8s Started container web
Normal Created 2m15s (x3 over 3m12s) kubelet, node2.k8s Created container web
Normal Killing 2m15s (x2 over 2m45s) kubelet, node2.k8s Container web failed liveness probe, will be restarted
Warning Unhealthy 2m5s (x7 over 3m5s) kubelet, node2.k8s Liveness probe failed: Get http://10.44.0.1:8052/: dial tcp 10.44.0.1:8052: connect: connection refused
What’s going on with memcached, Postgres and rabbitmq pods? Those are all ”Pending”. Nothing will work if those aren’t running.
They do not start.
# kubectl get po
NAME READY STATUS RESTARTS AGE
awx-546dbf7cc5-vhgbt 1/2 CrashLoopBackOff 4 2m47s
awx-memcached-0 1/1 Running 0 2m47s
awx-memcached-1 1/1 Running 0 2m33s
awx-memcached-2 0/1 Pending 0 2m25s
awx-postgresql-0 0/1 Pending 0 2m46s
awx-rabbitmq-0 0/1 Pending 0 2m46s
I can see that. That’s probably where you want to start debugging.
This is the k8s version i'm running.
Installing the chart throws this error
Acording with the Docs. Stateful sets belong to apps/v1 version.
I fetched the chart dir and modified to apiVersion: apps:v1 but got this error
Any ideas how to fix this?
Thanks