What is the SDK equivalent of the aws eks update-kubeconfig
command?
#3112
Answered
by
mullermp
murshed-panorama
asked this question in
Q&A
-
Hello! I would like to use the SDK to execute a command like update-kubeconfig. On the command line, it would look something like:
Does the SDK support this? I reviewed the EKS Client documentation, but was unable to find a suitable method. I have the following gems installed
|
Beta Was this translation helpful? Give feedback.
Answered by
mullermp
Sep 24, 2024
Replies: 1 comment 1 reply
-
https://github.com/aws/aws-cli/blob/develop/awscli%2Fcustomizations%2Feks%2Fupdate_kubeconfig.py This looks like a customization specifically for CLI and not SDKs. I think you can either keep shelling out to CLI or replicate the logic in Ruby using the eks client. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
murshed-panorama
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/aws/aws-cli/blob/develop/awscli%2Fcustomizations%2Feks%2Fupdate_kubeconfig.py
This looks like a customization specifically for CLI and not SDKs. I think you can either keep shelling out to CLI or replicate the logic in Ruby using the eks client.