2016-02-08 20:57:32 +00:00
|
|
|
kubelet:
|
2017-01-30 12:04:32 +00:00
|
|
|
image: gcr.io/google_containers/hyperkube-amd64:v1.5.2
|
2016-02-08 20:57:32 +00:00
|
|
|
privileged: true
|
|
|
|
pid: host
|
|
|
|
net : host
|
|
|
|
volumes:
|
2017-01-30 12:04:32 +00:00
|
|
|
- /sys:/sys:rw
|
2016-02-08 20:57:32 +00:00
|
|
|
- /var/lib/docker/:/var/lib/docker:rw
|
2017-01-30 12:04:32 +00:00
|
|
|
- /var/lib/kubelet/:/var/lib/kubelet:rw,shared
|
2016-02-08 20:57:32 +00:00
|
|
|
- /var/run:/var/run:rw
|
2017-01-30 12:04:32 +00:00
|
|
|
command: ['/hyperkube', 'kubelet', '--hostname-override=127.0.0.1', '--api-servers=http://localhost:8080', '--config=/etc/kubernetes/manifests', '--allow-privileged=true', '--v=2', '--cluster-dns=10.0.0.10', '--cluster-domain=cluster.local']
|