forked from sneumann/container-metfrag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
k8s.yaml
23 lines (22 loc) · 771 Bytes
/
k8s.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
etcd:
image: gcr.io/google_containers/etcd:2.0.12
net: "host"
command: /usr/local/bin/etcd --addr=127.0.0.1:4001 --bind-addr=0.0.0.0:4001 --data-dir=/var/etcd/data
master:
image: gcr.io/google_containers/hyperkube:v1.1.3
net: "host"
privileged: true
pid: "host"
volumes:
- /:/rootfs:ro
- /sys:/sys:ro
- /dev:/dev
- /var/lib/docker/:/var/lib/docker:ro
- /var/lib/kubelet/:/var/lib/kubelet:rw
- /var/run:/var/run:rw
command: /hyperkube kubelet --containerized --api_servers=http://127.0.0.1:8080 --address=0.0.0.0 --hostname_override=127.0.0.1 --config=/etc/kubernetes/manifests
proxy:
image: gcr.io/google_containers/hyperkube:v1.1.3
net: "host"
privileged: true
command: /hyperkube proxy --master=http://127.0.0.1:8080