~/.kube/config, user:

From wikieduonline
Jump to navigation Jump to search


kind: Config
preferences: {}
users:
- name: arn:aws:eks:us-east-1:1234567890:cluster/sandbox-eks
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - --region
      - us-east-1
      - eks
      - get-token
      - --cluster-name
      - sandbox-eks
      command: aws
      env:
      - name: AWS_PROFILE
        value: sandbox-profile

Related[edit]


See also[edit]

kubectl config [ view | get-contexts | current-context | get-clusters | set-context | set-credentials ], ~/.kube/config, kubectl config --help, kubectx, Kubernetes contexts, KUBECONFIG, kubectl --kubeconfig

Advertising: