Command line tool (kubectl) | Kubernetes

PHOTO EMBED

Fri May 31 2024 22:24:19 GMT+0000 (Coordinated Universal Time)

Saved by @calazar23

chmod a+x ./kubectl-hello



# and move it to a location in our PATH

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

sudo chown root:root /usr/local/bin



# You have now created and "installed" a kubectl plugin.

# You can begin using this plugin by invoking it from kubectl as if it were a regular command

kubectl hello
content_copyCOPY

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