Public | Automated Build

Last pushed: 2 years ago
Short Description
hyperkube for hypernetes
Full Description

hyperkube

Dockerfile to build hyperkube image for hypernetes

Usage:

docker pull feisky/hyperkube

Check docker-compose.yml to start a hypernetes controller node.

etcd:
  image: gcr.io/google_containers/etcd:2.2.1
  container_name: etcd
  ports:
    - "4001"
  command: ['/usr/local/bin/etcd', '-advertise-client-urls=http://0.0.0.0:4001', '--listen-client-urls=http://0.0.0.0:4001', '--data-dir=/var/etcd/data']

apiserver:
  image: feisky/hyperkube
  container_name: apiserver
  ports:
    - "8081:8080"
  links:
    - etcd
  command: ["/hyperkube", "apiserver", "--service-cluster-ip-range=10.254.0.0/16", "--insecure-bind-address=0.0.0.0", "--cluster-name=kubernetes", "--etcd_servers=http://etcd:4001", "--v=2"]
  environment:
    - "affinity:container==*etcd*"

controller:
  image: feisky/hyperkube
  command: ["/hyperkube", "controller-manager", "--address=0.0.0.0", "--master=http://apiserver:8080", "--v=2"]
  links:
    - apiserver
  environment:
    - "affinity:container==*apiserver*"

scheduler:
  image: feisky/hyperkube
  command: ["/hyperkube", "scheduler", "--address=0.0.0.0", "--master=http://apiserver:8080", "--v=2"]
  links:
    - apiserver
  environment:
    - "affinity:container==*apiserver*"

You can interact with it with kubectl:

$ kubectl -s=http://localhost:8081 get services
NAME         CLUSTER_IP   EXTERNAL_IP   PORT(S)   SELECTOR   AGE
kubernetes   10.254.0.1   <none>        443/TCP   <none>     1m
Docker Pull Command
Owner
feisky
Source Repository

Comments (0)