I have a hello-world app that was deployed on AKS with HPA enabled.
I have 2 these node pools:
I haven't set any node assignment configuration yet: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
FYI:
spotnodepools have autoscaling from 0-2 nodesagentpoolpools have manual scaling with fixed 1 node.
Current behavior:
- When HPA performed, pods are created and got running on
agentpoolonly
My expectation is:
- I want my pods will be created on
spotnodes+ other node pools, except theagentpool
Question 1: How can I achieve this expectation, I know 1 possible way is to follow the link?
Question 2: Why my k8s deployment on Azure AKS was scaled on single node pools (agentpool) only?

Question 1: How can I make pods created on spotnodes + other node pools, except the agentpool?
Question 2: Why my k8s deployment on Azure AKS was scaled on single node pools (agentpool) only?
spotnodespool have no active nodes, and because of the reason below.