Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] EKS cluster does not have addon after upgraded. #7716

Open
laiminhtrung1997 opened this issue Apr 18, 2024 · 4 comments
Open

[Help] EKS cluster does not have addon after upgraded. #7716

laiminhtrung1997 opened this issue Apr 18, 2024 · 4 comments
Labels
kind/help Request for help

Comments

@laiminhtrung1997
Copy link

What help do you need?

I created an EKS cluster without any addons by executing the command:

eksctl create cluster --without-nodegroup -f /tmp/cluster.yml

Afterward, I upgraded the EKS cluster by modifying the /tmp/cluster.yml file to include a new addon, using the command:

eksctl upgrade cluster -f /tmp/cluster.yml --approve

Although the EKS cluster was successfully upgraded, the addon I added to the /tmp/cluster.yml file did not take effect. I believe the eksctl upgrade cluster command only performs the upgrade of the EKS cluster version as intended. Is there a solution available to apply new configurations from the /tmp/cluster.yml file to the EKS cluster?

@laiminhtrung1997 laiminhtrung1997 added the kind/help Request for help label Apr 18, 2024
@fargue
Copy link

fargue commented Apr 18, 2024

When we change the add-ons defined in our cluster.yaml file, we run the following command to apply the changes:

eksctl update addon --config-file=/tmp/cluster.yaml

@laiminhtrung1997
Copy link
Author

laiminhtrung1997 commented Apr 18, 2024

Dear @fargue
What if we change something else but add-ons in the cluster.yml file? For example, the tag, subnet cidr,...
Is there a common command to update all configurations in the cluster.yml file to the new EKS cluster?

@cPu1
Copy link
Collaborator

cPu1 commented Apr 25, 2024

I believe the eksctl upgrade cluster command only performs the upgrade of the EKS cluster version as intended.

That's correct. eksctl upgrade cluster only upgrades the control plane version, it does not look at any other changed fields.

Is there a common command to update all configurations in the cluster.yml file to the new EKS cluster?

There's no single command to update the entire configuration. You can find more details at https://eksctl.io.

@laiminhtrung1997
Copy link
Author

Dear,

I used the eksctl create addon command to create an addon after upgrading the EKS cluster from v1.26 to v1.28. The addon was created on EKS, but it has been stuck in the Creating state for more than 30 minutes, possibly indefinitely, and the following error message occurred:

Error: timed out waiting for addon "aws-guardduty-agent" to become active, status: "CREATING"

Has anyone faced this issue? What should I do to resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/help Request for help
Projects
None yet
Development

No branches or pull requests

3 participants