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

Create Workload clusters using an existing Management cluster #386

Closed
Tracked by #94
mdsgabriel opened this issue Oct 5, 2021 · 0 comments
Closed
Tracked by #94

Create Workload clusters using an existing Management cluster #386

mdsgabriel opened this issue Oct 5, 2021 · 0 comments

Comments

@mdsgabriel
Copy link
Member

What would you like to be added:
Allow users to create workload clusters using an existing management cluster

Users will run a command similar to

eksctl anywhere create cluster -f cluster-spec.yaml --kubeconfig managemet-cluster.kubconfig

where cluster-spec.yaml represents the cluster spec file for a workload cluster and --kubeconfig points to the kubeconfig file of a management cluster.

Why is this needed:

@mdsgabriel mdsgabriel changed the title Create Workload clusters using existing Management clusters Create Workload clusters using an existing Management cluster Oct 5, 2021
mdsgabriel added a commit to mdsgabriel/eks-anywhere-1 that referenced this issue Oct 14, 2021
This will introduce a new optional flag (--kubeconfig) that will be used
when creating workload clusters.
Users will run the following command:

eksctl anyhwere create cluster -f workload-cluster-spec.yaml
--kuneconfig management.kubeconfig

Where "management.kubeconfig" is the kubeconfig file of an existing
management cluster.

The command above will create a workload cluster.

Closes aws#386
rothgar pushed a commit to rothgar/eks-anywhere that referenced this issue Nov 20, 2021
* Allow users to create wokload clusters

This will introduce a new optional flag (--kubeconfig) that will be used
when creating workload clusters.
Users will run the following command:

eksctl anyhwere create cluster -f workload-cluster-spec.yaml
--kuneconfig management.kubeconfig

Where "management.kubeconfig" is the kubeconfig file of an existing
management cluster.

The command above will create a workload cluster.

Closes aws#386

* Use cluster name when listing machines

The GetMachines() method was previously listing all Machine CRs in the
cluster. With the introduction of Workload clusters it is necessary to
filter machines using the cluster name

* Fix logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant