parent
18cf49755e
commit
2b00cdf330
2 changed files with 7 additions and 6 deletions
|
@ -1,12 +1,11 @@
|
||||||
kubelet:
|
kubelet:
|
||||||
image: gcr.io/google_containers/hyperkube-amd64:v1.2.2
|
image: gcr.io/google_containers/hyperkube-amd64:v1.5.2
|
||||||
privileged: true
|
privileged: true
|
||||||
pid: host
|
pid: host
|
||||||
net : host
|
net : host
|
||||||
volumes:
|
volumes:
|
||||||
- /:/rootfs:ro
|
- /sys:/sys:rw
|
||||||
- /sys:/sys:ro
|
|
||||||
- /var/lib/docker/:/var/lib/docker:rw
|
- /var/lib/docker/:/var/lib/docker:rw
|
||||||
- /var/lib/kubelet/:/var/lib/kubelet:rw
|
- /var/lib/kubelet/:/var/lib/kubelet:rw,shared
|
||||||
- /var/run:/var/run:rw
|
- /var/run:/var/run:rw
|
||||||
command: ['/hyperkube', 'kubelet', '--containerized', '--hostname-override=127.0.0.1', '--address=0.0.0.0', '--api-servers=http://localhost:8080', '--config=/etc/kubernetes/manifests', '--allow-privileged=true', '--v=2']
|
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']
|
||||||
|
|
|
@ -34,7 +34,9 @@ spec:
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
hostPort: 80
|
hostPort: 80
|
||||||
- name: admin
|
- name: admin
|
||||||
containerPort: 8080
|
containerPort: 8081
|
||||||
args:
|
args:
|
||||||
|
- -d
|
||||||
- --web
|
- --web
|
||||||
|
- --web.address=:8081
|
||||||
- --kubernetes
|
- --kubernetes
|
||||||
|
|
Loading…
Reference in a new issue