-
Hello, I am starting to upgrade our eks cluster from k8s 1.23 to k8s 1.24. We are currently in the version v0.95.1 for repository - terraform-aws-service-catalog. My understanding is that i need to upgrade eks-core-components first and then upgrade eks-cluster. I was able to upgrade the core components from my local pc without any issues. I also upgraded my local kubergrunt version to v.10.0 to support the upgrade. This is how the plan looked like (locally):
This was applied locally successfully, but I never could run even the plan from the pipeline. It would throw the error:
Am I correct to understand that this is an issue with kubergrunt versions, or is this something else? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
Hi @sewmiuraj, support for EKS The reason for this is that EKS/K8s I suspect the error you are seeing is noted below (ExecCredential removal). Here are a couple snippets from the K8s 1.24 Release Notes that are an overview of the major breaking changes:
Here are some additional links with additional information on the EKS/K8s To upgrade to |
Beta Was this translation helpful? Give feedback.
-
Thank you @ryehowell. My issue is a little different however. I can upgrade eks-core-services without issues to v.1.24 using service-catalog version v.100.0 in my local machine. But this error is thrown in our pipeline - we are using Github actions with ecs-deploy-runner. I maybe wrong, but I believe this is because I can't specify the kubergrunt version in the pipeline, but be more flexible with the version in my local machine. I can see that the variable "kubergrunt_download_url" exposed in the eks-cluster module, but in the eks-core-services module, I can't see a way to specify the version: |
Beta Was this translation helpful? Give feedback.
-
Hi @sewmiuraj, what version of the service catalog is the
I think the suggested path forward is to update the infrastructure to the latest needed version of the service catalog (doing this will also update the |
Beta Was this translation helpful? Give feedback.
-
Hi @sewmiuraj, I wanted to follow up regarding the last comment. Are you still facing the original issue posted? |
Beta Was this translation helpful? Give feedback.
-
Hi @ryehowell , I hope you are doing well. Thank you very much for reaching out. Unfortunately, the issue is still there. Based on your instructions, I have tried the following:
I have added it back, and the error now in the pipeline looks like this: What I am working on now at the moment? Your thoughts in this is highly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Hi @sewmiuraj, You are correct with rebuilding the Docker images as you described, and I think I see the root cause of the issue. If the ecs-deploy-runner image was built with the default configuration (no build args changed), then an incompatible version of Here is the offending line. The dependency ( Can you try rebuilding the Something like: |
Beta Was this translation helpful? Give feedback.
-
Hi @ryehowell , Thank you for sharing your insights on this. After building the ecs-deployer image by setting the kubergrunt version to v.10.0, I was able to upgrade our cluster using the pipeline. :) Thank you for your time... |
Beta Was this translation helpful? Give feedback.
Hi @sewmiuraj,
You are correct with rebuilding the Docker images as you described, and I think I see the root cause of the issue. If the ecs-deploy-runner image was built with the default configuration (no build args changed), then an incompatible version of
kubergrunt
will be used (and thus theclient.authentication.k8s.io/v1alpha1
API error).Here is the offending line.
The dependency (
kubergrunt
version) looks like it wasn't updated tov0.10.0
which is where support for EKS1.24
was added. Updating tov0.100.0
of the Service Catalog should have provided the proper support by default, but this looks like it was missed. So version0.8.0
ofkubergrunt
is still being used by default which …