Get kops to provide credential to kubectl.
docker run --rm \
-e AWS_ACCESS_KEY_ID=ABC132RANDOMRANDOM \
-e AWS_SECRET_ACCESS_KEY=qwertyuioasdfghjkl1234567qwertyuiasdfghjqwertyuiasdfg \
-e KOPS_STATE_STORE=s3://simple-dev.k8s.local-k8s-state-store \
hereblur/kops-kubectl \
kops export kubecfg simple-dev.k8s.local && kubectl get nodes
Content type
Image
Digest
Size
70.7 MB
Last updated
about 8 years ago
docker pull hereblur/kops-kubectl