You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Team!
I see that we can return EKS clusters as a strict defined by the sdk, but the Kubernetes client-go works well with a byte array representation of the kubeconfig yaml.
Is there a way to directly obtain that ?
Are there examples of how I can create a Kubernetes client-set from the Cluster struct that this sdk returns.
Note: I do not want to have to use the AWS cli to merge the cluster credentials to my local kubeconfig, I want to be able to directly retrieve the cluster credentials in my code and create the client for interacting with my cluster without involving the cli or my local kubeConfig file.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Team!
I see that we can return EKS clusters as a strict defined by the sdk, but the Kubernetes client-go works well with a byte array representation of the kubeconfig yaml.
Note: I do not want to have to use the AWS cli to merge the cluster credentials to my local kubeconfig, I want to be able to directly retrieve the cluster credentials in my code and create the client for interacting with my cluster without involving the cli or my local kubeConfig file.
Beta Was this translation helpful? Give feedback.
All reactions