cwedgwood / c-kubectl

kubectl in a container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c-kubectl

A (small) container to use kubectl via docker.

This is intended for environments where you have a simple (limited scope) ~/.kube/config credential file and docker, but do not have kubectl installed directly (or perhaps a different version).

The image itself is based on Alpine so there is a usable shell.

Usage Example

docker run --rm -v $HOME/.kube/config:/root/.kube/config cwedgwood/c-kubectl kubectl get pod --all-namespaces

About

kubectl in a container


Languages

Language:Dockerfile 71.4%Language:Makefile 28.6%