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

Zero Config EKS Launches #2510

Open
webern opened this issue Oct 21, 2022 · 1 comment
Open

Zero Config EKS Launches #2510

webern opened this issue Oct 21, 2022 · 1 comment
Labels
area/kubernetes K8s including EKS, EKS-A, and including VMW status/icebox Things we think would be nice but are not prioritized type/enhancement New feature or request

Comments

@webern
Copy link
Contributor

webern commented Oct 21, 2022

Currently, we need to provide the EKS cluster's api-server and cluster-certificate in Bottlerocket's settings.kubernetes or else a Bottlerocket instance will not know how to join the EKS cluster.

However, this information is discoverable. In #1547 we gave pluto the ability to call the EKS API to get the cluster's DNS setting.

https://github.com/bottlerocket-os/bottlerocket/blob/5e931725bd00311edcb7cddd9a97ea3f30f1a4bc/sources/api/pluto/src/main.rs#L312..L322

Why not also get it's api-server and cluster-certificate settings?

Challenge

With the current design, multiple calls to pluto would be required, we should consider a design that can set multiple settings with a single call to pluto.

Extensions of the idea:

For extra-credit we could even get its settings.kubernetes.cluster-name from the instance tags (for example if it was launched from an EKS console or launch template), though this might not be desirable.

Another possible extension would be to start in standalone mode when the cluster-name cannot be determined from tags. This would give users a quickl/easy way to launch and try Bottlerocket without any config or cluster.

@etungsten
Copy link
Contributor

The other approach is described in #1845. We should decide if we want to pursue that in which case would completely deprecate pluto

@stmcginnis stmcginnis added the status/needs-triage Pending triage or re-evaluation label Dec 1, 2022
@stmcginnis stmcginnis added type/enhancement New feature or request area/kubernetes K8s including EKS, EKS-A, and including VMW status/icebox Things we think would be nice but are not prioritized and removed status/needs-triage Pending triage or re-evaluation labels Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes K8s including EKS, EKS-A, and including VMW status/icebox Things we think would be nice but are not prioritized type/enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants