~/.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]

Advertising: