Guest User

Untitled

a guest
Jun 10th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. $ kubectl --context=eks-dev-qa version
  2. Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4",
  3. GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean",
  4. BuildDate:"2018-06-06T15:22:13Z", GoVersion:"go1.9.6", Compiler:"gc",
  5. Platform:"darwin/amd64"}
  6. error: You must be logged in to the server (the server has asked for the client
  7. to provide credentials)
  8.  
  9. apiVersion: v1
  10. clusters:
  11. - cluster:
  12. server: https://myinstance.sk1.us-east-1.eks.amazonaws.com
  13. certificate-authority-data: base64_cert name: kubernetes contexts: - context: cluster: kubernetes user: aws name: aws
  14. current-context: aws
  15. kind: Config
  16. preferences: {}
  17. users:
  18. - name: aws
  19. user:
  20. exec:
  21. apiVersion: client.authentication.k8s.io/v1alpha1
  22. command: heptio-authenticator-aws
  23. args:
  24. - "token"
  25. - "-i"
  26. - "dev-qa"
  27. # - "-r"
  28. # - "<role-arn>"
Add Comment
Please, Sign In to add comment