-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (52 loc) · 1.33 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '2'
services:
registy:
image: registry:2
ports:
- 127.0.0.1:5000:5000
etcd:
image: quay.io/coreos/etcd:latest
ports:
- 127.0.0.1:4001:4001
environment:
ETCD_NAME: 0
ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
ETCD_INITIAL_CLUSTER_STATE: new
ETCD_INITIAL_CLUSTER_TOKEN: etcd-cluster-1
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:4001
ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
ETCD_ADVERTISE_CLIENT_URLS: http://etcd:4001
apiserver:
image: gcr.io/google_containers/hyperkube-amd64:v1.8.0
depends_on:
- etcd
ports:
- 127.0.0.1:8080:8080
command:
- /hyperkube
- apiserver
- --insecure-bind-address=0.0.0.0
- --external-hostname=apiserver
- --bind-address=0.0.0.0
- --secure-port=0
- --etcd-servers=http://etcd:4001
- --service-cluster-ip-range=10.254.0.1/24
- --v=2
scheduler:
image: gcr.io/google_containers/hyperkube-amd64:v1.8.0
depends_on:
- apiserver
command:
- /hyperkube
- scheduler
- --master=apiserver:8080
- --v=2
controller-manager:
image: gcr.io/google_containers/hyperkube-amd64:v1.8.0
depends_on:
- apiserver
command:
- /hyperkube
- controller-manager
- --master=apiserver:8080
- --v=2