rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
463 stars 261 forks source link

Allow managed nodegroups for Rancher running on Amazon EKS. #12579

Open skanakal opened 1 week ago

skanakal commented 1 week ago

Setup

Describe the bug

Allow managed nodegroups for Rancher running on Amazon EKS.

To Reproduce

Follow https://ranchermanager.docs.rancher.com/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-amazon-eks

  1. Create EKS cluster thru eksctl command eksctl create cluster --name <name> --region <region> --nodegroup-name <ng-name> --node-type t2.medium --nodes 3 --version=1.28
  2. Install rancher on EKS cluster
  3. Once Rancher running, open Rancher UI and Edit the local cluster config, and add the cloud creds
  4. Try to update the label or annotation and Save.

Result image

Expected Result

Screenshots

Additional context

rak-phillip commented 1 week ago

Related to #12339

richard-cox commented 1 week ago

Before the port of hosted providers did we allow Rancher to manage the cluster itself was on?

skanakal commented 1 week ago

Before the port of hosted providers did we allow Rancher to manage the cluster itself was on?

No, this isn’t allowed, at least on Amazon EKS (as highlighted below). This change has been observed in versions 2.9 and above.

The error stating "cluster must have at least one node group" should be cleared if we avoid enabling managed node groups for the local cluster.

Screenshot from 2024-11-12 16-11-04