Sleeps forever so you can deploy it and then exec into it to run kubectl commands inside a cluster
168
Usage:
$ kubectl create -f - <<EOF
---
apiVersion: v1
kind: Pod
metadata:
name: kubectl
spec:
containers:
- name: kubectl
image: justinclayton/kubectl:1.5.2
EOF
and then
$ kubectl exec -it kubectl kubectl get pod kubectl
Content type
Image
Digest
Size
25.6 MB
Last updated
over 9 years ago
docker pull justinclayton/kubectl:1.5.2