Skip to content

Instantly share code, notes, and snippets.

@akash-gautam
Created December 24, 2019 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akash-gautam/b1201d632dcbbf855b229439cc63366a to your computer and use it in GitHub Desktop.
Save akash-gautam/b1201d632dcbbf855b229439cc63366a to your computer and use it in GitHub Desktop.
apiVersion: v1
clusters:
- cluster:
server: https://DBFE36D09896EECAB426959C35FFCC47.sk1.us-east-1.eks.amazonaws.com
certificate-authority-data: ”....................”
name: kubernetes
contexts:
- context:
cluster: kubernetes
user: aws
name: aws
current-context: aws
kind: Config
preferences: {}
users:
- name: aws
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
command: aws-iam-authenticator
args:
- "token"
- "-i"
- “eks-blog-cluster"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment