Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: v1
- clusters:
- - cluster:
- server: <EKS_SERVER_URL>
- certificate-authority-data: <CLUSTER_CERTIFICATE_AUTHORITY_DATA>
- name: my-cluster
- contexts:
- - context:
- cluster: my-cluster
- user: my-user
- name: my-context
- current-context: my-context
- kind: Config
- preferences: {}
- users:
- - name: my-user
- user:
- exec:
- apiVersion: client.authentication.k8s.io/v1alpha1
- command: aws-iam-authenticator
- args:
- - "token"
- - "-i"
- - "<CLUSTER_NAME>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement