简体   繁体   中英

aws-node pod is missing in kube-system namespace

Im deploying EKS cluster and configuring the managed node groups so that we can have master and worker nodes. following this doc: https://docs.aws.amazon.com/eks/latest/userguide/cni-iam-role.html

while running this command:

kubectl get pods -n kube-system -l k8s-app=aws-node

I dont see any POD with that label. dont know why? Is it something due to missing configuration OR I missed something while deploying EKS cluster

please suggest

UPDATE 1

kubectl describe daemonset aws-node -n kube-system

output

Name:           aws-node Selector:       k8s-app=aws-node Node-Selector:  <none> Labels:         app.kubernetes.io/instance=aws-vpc-cni
                app.kubernetes.io/name=aws-node
                app.kubernetes.io/version=v1.11.4
                k8s-app=aws-node Annotations:    deprecated.daemonset.template.generation: 2 Desired Number of Nodes Scheduled: 0 Current Number of Nodes Scheduled: 0 Number of Nodes Scheduled with Up-to-date Pods: 0 Number of Nodes Scheduled with Available Pods: 0 Number of Nodes Misscheduled: 0 Pods Status:  0 Running / 0 Waiting / 0 Succeeded / 0 Failed Pod Template:   Labels:   app.kubernetes.io/instance=aws-vpc-cni
                    app.kubernetes.io/name=aws-node
                    k8s-app=aws-node   Service Account:  aws-node

kubectl get nodes command says No resources found

No pod will be running if you don't have any worker node. Easiest way to add worker node is on the AWS console, goto Amazon Elastic Kube.netes Service and click on your cluster, goto "Compute" tab and select the node group, click "Edit" and change "Desired size" to > 1.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM