- Newest
- Most votes
- Most comments
Could you double-check the Fargate profile configuration to ensure that it includes the correct selectors for the kube-system namespace. Ensure that the podExecutionRoleArn is correct and has the necessary permissions to launch pods in the specified namespaces.
could you also check similar issue that was resolved here :- https://repost.aws/questions/QU-eT9qSuzQaiDj8S8yVwoxQ/eks-cluster-with-fargate-type-pod-going-to-pending-state https://repost.aws/knowledge-center/eks-resolve-pending-fargate-pods
Ensure that the kube-system namespace has the appropriate labels that match the selectors defined in the Fargate profile. Fargate profiles use namespace selectors to determine which namespaces should use Fargate for pod execution.
Check Node Availability: Verify that there are nodes available in your cluster. You can use the command kubectl get nodes to list the nodes in your cluster and their current status.
Inspect Node Conditions: Review the conditions of the nodes in your cluster using kubectl describe nodes. Look for any conditions or issues that might prevent the nodes from scheduling pods, such as resource exhaustion or node taints.
Review Resource Requests and Limits: Ensure that the resource requests and limits specified in the pod manifests are appropriate for the nodes in your cluster. Pods may fail to schedule if their resource requirements exceed the capacity of the available nodes.
Check Node Selector and Affinity: If your pods have node selectors or node affinity rules defined, verify that they match the labels of the available nodes in your cluster. Pods with specific node affinity requirements may fail to schedule if there are no nodes that meet those requirements.
Check Network and Storage: Ensure that the network and storage configurations of your nodes are functioning correctly. Issues with networking or storage can prevent pods from being scheduled.
Review Cluster Autoscaler Configuration: If you're using a cluster autoscaler, review its configuration to ensure that it's configured correctly and has the necessary permissions to scale up the cluster if needed.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago