Command line tool (kubectl) | Kubernetes

PHOTO EMBED

Fri May 31 2024 22:23:27 GMT+0000 (Coordinated Universal Time)

Saved by @calazar23

# make the file executable

sudo chmod +x ./kubectl-whoami



# and move it into your PATH

sudo mv ./kubectl-whoami /usr/local/bin



kubectl whoami

Current user: plugins-user
content_copyCOPY

https://kubernetes.io/docs/reference/kubectl/