Public | Automated Build

Last pushed: 20 days ago
Short Description
kubernetes (k8s) installer
Full Description

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

Docker Pull Command
Owner
stakater

Comments (0)