1 Answers
Docker desktop is a single node cluster, and the hpa is supposed to launch more nodes, so I think it only works with cloud clusters.
Sign Up Free or Log In to participate!
When i run
kubectl apply -f hpademo.yml
and then
kubectl get hpa –namespace acg-ns
i just get back
acg-hpa Deployment/acg-web /50% 1 10 1 18m
(as you can see i let it run for a long time)
I also noticed that
kubectl get nodes
just returned
NAME STATUS ROLES AGE VERSION
docker-desktop Ready control-plane,master 5h20m v1.21.1
there was no node for the pod.
so i never see a %cpu other than unknown and never see any replicas created when i run the stresser.
Docker desktop is a single node cluster, and the hpa is supposed to launch more nodes, so I think it only works with cloud clusters.
Psst…this one if you’ve been moved to ACG!