Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.02 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.02 KB

Install Kerbernetes Components

An Alpine based image to install Kerbernetes components from Kubernetes official binary release site. The binaries (linux/amd64) are installed in /shared volume which you can mount on host's installation directory.

The container accept two environment variables:

  • VERSION
  • COMPONENTS

Usage Examples

  • Install the default components kube-apiserver kube-controller-manager kube-scheduler, and kubectl.
$ docker run --rm -v /opt/bin/kubernetes:/shared stakater/k8s-installer
  • Install specific components:
$ docker run --env COMPONENTS="kube-apiserver kube-controller-manager kube-scheduler" --rm -v /opt/bin/kubernetes:/shared stakater/k8s-installer

Or:

$ docker run --env COMPONENTS="kubectl" --rm -v /opt/bin/kubernetes:/shared stakater/k8s-installer
  • Install specific version:
$ docker run --env VERSION="v1.4.3" --rm -v /opt/bin/kubernetes:/shared stakater/k8s-installer

Credits