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

Managed Cluster Registration #3

Open
mnkg561 opened this issue Mar 10, 2020 · 1 comment
Open

Managed Cluster Registration #3

mnkg561 opened this issue Mar 10, 2020 · 1 comment
Labels
cluster enhancement New feature or request

Comments

@mnkg561
Copy link
Contributor

mnkg561 commented Mar 10, 2020

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST

What happened:
To communicate with target clusters, control plane cluster must have credentials to access managed clusters. As we have taken conscious decision to not to get into cluster creation as part of this project, we need to establish a pattern to provide managed cluster access information to the control plane cluster.

So, As part of Bring Your Own Cluster (BYOC) approach, we should provide multiple options

  1. Kubernetes Native Way
  2. AWS IAM Auth (Heptio Auth??) for AWS clusters.
  3. GCP Way if there is any..

We should support Kubernetes native way in first release and can support cloud native ways in future releases.

What you expected to happen:
It should be as simple as running a cli command on the managed cluster to create ServiceAccount, Role and RoleBinding and can extract secret information which can be presented to the "manager" as part of custom resource.

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
If we think about it now, we might not need cluster controller as it is not creating but CRD should be sufficient. May be we just use that secret and create a dummy namespace as part of the controller reconciliation and see if that access works?

Environment:

  • manager version
  • Kubernetes version :
$ kubectl version -o yaml

Other debugging information (if applicable):

- controller logs:

$ kubectl logs

@mnkg561 mnkg561 added enhancement New feature or request cluster labels Mar 10, 2020
@mnkg561
Copy link
Contributor Author

mnkg561 commented Mar 25, 2020

K8s native implementation for BYOC is done as part of #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cluster enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant