Docker image for deploying to Kubernetes via kubectl and helm
321
Builds docker image containing kubectl and helm.
docker-compose build
If you have a kubeconfig file, you can mount it at /root/.kube/config where kubectl and helm pick it up.
E.g.
docker-compose run --rm k8s-deployer-mount "kubectl get no"
docker-compose run --rm k8s-deployer-mount "helm list"
Update the env vars in the docker-compose.yml to include the values present in your kubeconfig file.
E.g.
docker-compose run --rm k8s-deployer-env "kubectl get no"
docker-compose run --rm k8s-deployer-env "helm list"
Content type
Image
Digest
Size
25.6 MB
Last updated
over 9 years ago
docker pull evns/k8s-deployer