-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Import eksctl as a library to integrate other utils #813
Comments
/assign @errordeveloper |
/cc @kalbir |
This would be good to have, and we could use it for testing purposes also. |
Is there perhaps an ETA for release of this feature? |
Is there any opportunity to contribute to this effort? We'd love to use this for creating tooling for internal cluster setup that requires more than what's within the scope of eksctl (ie VPC peering), not just because Go is the community standard. |
related issue: #1538 |
is there any plan to work on this topic or anyone actively working on it? |
Remaining:
|
I would pick eksctl any time of the day if we have a sdk so that we can get ride of the scripts needed to integrate with the eksctl. related to: |
@errordeveloper can you please help us here, this looks like a must have now. |
@rverma-nsl which eksctl operations are you trying to invoke and from what language? |
almost all of them, top ones are create cluster, add nodegroup, add irsa roles, patch cluster upgrades and addons. |
Why not just call these and abstract the binary calling operations behind an interface for example? How would you benefit from calling these things from code vs calling out to the binary? Once abstracted you can incorporate the calling into unit tests as well if testability is a concern. |
I guess its basically same stuff as kubectl vs client-go. I am also using the same since storing eksctl config in a cm. It can work but won't be super pleasant with all the yaml marshalling :) |
You could try and re-create what we do :) Nothing is behind an |
I'm looking to do this for python, would it be possible to import the go libraries or is there another way to do such an import? For example a C package I can import into Python |
Why do you want this feature?
I am using eksctl to build an eks provision tool in kubeflow community. In my previous version, we use eksctl as a cli in shell scripts to create eks cluster. Now, community is moving to golang ctl and we need to migrate existing functionalities implemented by shell to golang.
I don't know if eksctl can be used for this purpose. I notice no one package import eksctl yet.
https://www.grank.io/pkg/github.com/weaveworks/eksctl.html
What feature/behavior/change do you want?
Need eksctl SDK to create/delete cluster. All CLI features should be supported in SDK.
The text was updated successfully, but these errors were encountered: