SHARE
TWEET

Untitled

a guest Sep 19th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: v1
  2. clusters:
  3. - cluster:
  4.     server: <EKS_SERVER_URL>
  5.     certificate-authority-data: <CLUSTER_CERTIFICATE_AUTHORITY_DATA>
  6.   name: my-cluster
  7. contexts:
  8. - context:
  9.     cluster: my-cluster
  10.     user: my-user
  11.   name: my-context
  12. current-context: my-context
  13. kind: Config
  14. preferences: {}
  15. users:
  16. - name: my-user
  17.   user:
  18.     exec:
  19.       apiVersion: client.authentication.k8s.io/v1alpha1
  20.       command: aws-iam-authenticator
  21.       args:
  22.         - "token"
  23.         - "-i"
  24.         - "<CLUSTER_NAME>"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top