Pods not running in all Nodes

SoonJoo@Genting 241 Reputation points
2022-10-18T07:24:27.61+00:00

251447-screenshot1552.jpgHi All,

I have a AKS running with 5 nodes, however not all nodes is running the workload.

I have created a quick start application and selected the image from integrated ACR. The first node created are ready to accept load as end point, but not other nodes in the same Node Pools.

Wonder what settings or configuration is missing in my AKS?

Best regards,
Soon Joo

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,458 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,366 Reputation points Microsoft Employee Moderator
    2022-10-19T16:02:55.157+00:00

    Hello @SoonJoo@Genting ,
    If you want your application pods to run and distribute on each node , then you have to deploy your application using DaemonSet YAML file.
    More details about DaemonSet : https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/

    By default, when you deploy the application using "Deployment" YAML Spec object with number of replicas - those application pods can go and sit randomly on any of the available nodes;
    You can also use the concept of "Taints & Tolerations" https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

    Regards,
    Shiva.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. SoonJoo@Genting 241 Reputation points
    2022-10-19T05:46:39.063+00:00

    Just realised not all pods are running on the nodes, what should I do to make sure all the pods with the apps should be running on each of the nodes?

    Thanks!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.