aws-iam-authenticator is the Old Way

  • kubectl
  • aws CLI
  • aws-iam-authenticator

Run in Container

  • kubectl only ( current last version : v1.14.7)
  • kubectl combined with aws CLI ( current last version : v1.14.7-aws1.16.277)
# docker-compose sampleservices:
kubectl:
image: abdennour/kubectl:v1.14.7-aws1.16.277
volumes:
- .:/code
- aws-creds:/root/.aws:ro
restart: "no"
entrypoint: kubectl
environment:
AWS_PROFILE: myawsprofile
KUBECONFIG: /code/mykubeconfig

Bonus:

--

--

--

Software engineer, Cloud Architect, 5/5 AWS|GCP|PSM Certified, Owner of kubernetes.tn

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abdennour Toumi

Abdennour Toumi

Software engineer, Cloud Architect, 5/5 AWS|GCP|PSM Certified, Owner of kubernetes.tn

More from Medium

Looking for efficient Kubernetes Monitoring Tools?

Know the Role of K8S Service Account in Granting Access

Cluster.dev — Cloud Infrastructures’ Management Tool

Kubernetes Security Best Practices | Wildcard