You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eksctl does not check whether EKS is using auto-mode or not. In EKS auto-mode, there is no need to check whether the eks-pod-identity-agent is installed or not, because eks-pod-identity-agent is part of the EKS auto-mode.
What were you trying to accomplish?
I tried to create a new podidentityassociation.
eksctl create podidentityassociation .....
What happened?
Error: the "eks-pod-identity-agent" addon must be installed to create pod identity associations; please enable it using `eksctl ....
How to reproduce it?
Run again
eksctl create podidentityassociation .....
Logs
Anything else we need to know?
The IsPodIdentityAgentInstalled function in the file pkg/actions/podidentityassociation/migrator.go does not check whether EKS is using auto-mode or not.
Hello TarmoKople 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website
TarmoKople
changed the title
[Bug] eksctl create podidentityassociation does not work in the case of EKS auto-mode
[Bug] 'eksctl create podidentityassociation' does not work in the case of EKS auto-mode
Apr 4, 2025
So for eks auto-mode a new cluster can be created with auto-mode or it can be enabled for an existing cluster. as far as I understand the computeConfig flag here tells whether a cluster has auto-mode enabled or not. if we do not have to rely on the eksctl ClusterConfig then we can do a describe-cluster to get the flag to decide if it is in auto-mode or not. Otherwise if we can be sure that ClusterConfig will always have updated information then we do not need to make that describe-cluster call to determine if auto-mode is enabled or not.
eksctl does not check whether EKS is using auto-mode or not. In EKS auto-mode, there is no need to check whether the eks-pod-identity-agent is installed or not, because eks-pod-identity-agent is part of the EKS auto-mode.
What were you trying to accomplish?
I tried to create a new podidentityassociation.
What happened?
How to reproduce it?
Run again
Logs
Anything else we need to know?
The IsPodIdentityAgentInstalled function in the file pkg/actions/podidentityassociation/migrator.go does not check whether EKS is using auto-mode or not.
Created pull request #8345
Versions
The text was updated successfully, but these errors were encountered: