-
Notifications
You must be signed in to change notification settings - Fork 264
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
Enable new EKS regions & versions #8701
Comments
Similar (and already approved): rancher/ui#5006 |
@gaktive @furkatgofurov7 while we're on the topic we could add the missing following regions: Though I have not checked if EKS is available in all those regions |
@pgonin I'll check the list for EKS and send a PR if I find any of the regions are missing |
We'd need to do #8721 first since adding unsupported versions requires a fix. |
Validated the fixes from below PRs on build > v2.7.5-rc5 Able to provision EKS cluster with version 1.25, 1.26 and in region ap-northeast-3: |
@pgonin here is the pr: rancher/ui#5037 |
Test Result - ❌
There is mismatch between, supported AWS region list for Cloud credentials <-> AWS region list for provisioning EKS clusters. Therefore provisioning EKS cluster in newly added regions fails eg. eu-south-2 (since eu-south-2 is not present in AWS cloud credentials regions list) To reproduce
|
Blocked on rancher/machine#209 (though we could get the PR ready to go). From |
@richard-cox that I was late to review that PR and it is stale now. Once its updated anyone can review including you, see rancher/machine#209 (comment). Also, KEv2 doesn't use rancher-machine. You shouldn't need that PR for it. |
I think there's a knowledge gap UI side how this part works. We have two helper collections which contain amazon regions
The questions are...
|
We use rancher-machine to generate the cloud credentials I believe but otherwise EKS should not use or depend on rancher-driver at all. EKS also does not use any driver itself. It uses the eks-operator. |
Ok, so anything AWS credentials related needs to have the same regions list as https://github.com/rancher/machine/blob/master/drivers/amazonec2/region.go#L13? In the node driver world, used to create ec2 nodes, does the region list have an restrictions other than it needs to appear in https://cloud-images.ubuntu.com/locator/ec2/? Assuming there are no restrictions other than ami list on ec2 nodes
|
Not necessarily. That is used for provisoning non EKS clusters. EKS regions are usually a smaller subset and no ami info is needed because EKS does that automatically. The AMI info is specifically for when we create ec2 instances which we do not do ourselves for EKS. As for EC2, I don't think so? I don't think that's needed for creds. Creds uses rancher-machine to understand what the shape of the credential will be, AMI/region info is irrelevant here. I don't think it does much else with it rancher-machine for creds. |
/forwardport v2.7.next3 |
@richard-cox, Target is empty in comment for issue |
@richard-cox looks like 2.7.5 is merged so this ticket is now for the forward port? |
until rancher/rancher#41914 merges, in order to test this, in Settings --> Settings
... and refresh |
PR 41914 has been merged. |
Validated the fixes from below merged PRs on build > New regions added: ap-northeast-3, ap-southeast-4, ap-south-2, me-central-1, eu-central-2, eu-south-2 Results
|
From @furkatgofurov7, we need to update the hardcoded EKS supported k8s versions list with newer versions based on https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
Since tech debt #7295 is still open, we need to manually update this. PRs provided already.
rancher/ui#5009
rancher/ui#5008
The text was updated successfully, but these errors were encountered: