Replies: 11 comments 19 replies
-
Hello, Which version of eksupgrade are you using? Not sure I understand your question. Originally, the tool would only upgrade vpc-cni, kube-proxy, and coredns. In the current release (0.7.0), the tool will automatically upgrade any officially recognized add-on. We are pulling the installed add-on details from the AWS API directly. If it's installed and should be upgraded, it will be upgraded. The pre-flight and post-flight checks will be updated to reflect the upgrade summary as defined in an upcoming release. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@mbeacom I think we need to change some of this since its only looking at the addons mentioned eks-cluster-upgrade/eksupgrade/src/preflight_module.py Lines 279 to 320 in 3a6fd98 In the new models, we are retrieving all of the EKS addons associated with the cluster eks-cluster-upgrade/eksupgrade/models/eks.py Line 712 in 3a6fd98 |
Beta Was this translation helpful? Give feedback.
-
Tracking this as a part of: #86 |
Beta Was this translation helpful? Give feedback.
-
Firstly, thank you all for chiming in and actively working on this! I am very grateful and thankful! Secondly, I would like to clarify, although, it seems my point was made by @bryantbiggs. Here is the current list of addons I have on my cluster:
And here is the output of my upgrade using
on a slightly different note, and not important at all, what is the reason for the list output here? only the CNI does that and I'm not sure for what purpose. Especially since most versions have minor versions like
|
Beta Was this translation helpful? Give feedback.
-
Thank you for bringing this up. I did remember seeing the csi driver updated in a test I had and so ran it again. Was the screenshot from a run with just pre-flight checks ?
|
Beta Was this translation helpful? Give feedback.
-
THANK YOU for the color coding! Looks Amazing! I just created a new cluster with version 1.22 and intentionally created add-ons that were not latest versions. I then let it run with preflight flag. I still don't see it detecting my additional add-on.
Also, I have a few questions about the output:
|
Beta Was this translation helpful? Give feedback.
-
Which addons are you adding that it did not detect? |
Beta Was this translation helpful? Give feedback.
-
@onabison you may want to checkout how we manage EKS addons here. We use the In theory, if you used the |
Beta Was this translation helpful? Give feedback.
-
@bryantbiggs @mbeacom What is after the tool have upgraded one will run Maybe that can be automated in a script or maybe even in GitHub Actions. Which brings me to my next question. Are you planning (or already have) a GitHub Action for the EKS upgrade tool? Also, I haven't used the tool in a while, but has the issue where some of the add-ons are not "picked up" by the tool and don't get upgraded by the tool, been resolved? In my case, if you recall, the Thanks! |
Beta Was this translation helpful? Give feedback.
-
@mbeacom @bryantbiggs So, far it is only partially successful. The first time I ran it, it worked and upgraded the Control Plane and some of the add-ons. I ran it again and it completed the add-ons but not the node groups. Now, when I run it I get this error:
Has anyone tries using GitHub actions before? Maybe there's even an action for it? Here's my yaml while removing some info:
|
Beta Was this translation helpful? Give feedback.
-
Following up on this thread. If using GitHub Actions is not recommended for this process, please let me know so that I don't waste more time on this. As I mention previously I think I found a process that works (at least for our requirements) which is:
By following those steps I maintain the latest version of EKS and it's components and making sure Terraform is updates to the latest such that I can spin up an exact duplicate cluster if needed (which are the requirements from my manager). I wanted to automate that process by using GHA, but as I mentioned that seems to be running into timeout issues. Any input you have with regards to anything I mentioned above would be greatly appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi,
@bryantbiggs
@mbeacom
I'm not sure if to categorize this question as a feature request or not.
When using the
eksupgrade
tool, I noticed that it only looks at the 3 common add-ons (kube-proxy, vpc_cni, coredns). What if I have enabled other add-onsAmazon EBS CSI Driver
in my case, would it check for update and upgrade it (or any other for that matter)?Beta Was this translation helpful? Give feedback.
All reactions