2017-10-29 11:45:21 +02:00
|
|
|
---
|
|
|
|
hosts:
|
|
|
|
- hostname: server1
|
|
|
|
ip: 1.1.1.1
|
|
|
|
user: ubuntu
|
|
|
|
role: [controlplane, etcd]
|
|
|
|
docker_socket: /var/run/docker.sock
|
2017-10-31 13:39:21 +02:00
|
|
|
control_plane_ip: 10.1.1.1
|
2017-10-29 11:45:21 +02:00
|
|
|
- hostname: server2
|
|
|
|
ip: 2.2.2.2
|
|
|
|
user: ubuntu
|
|
|
|
role: [worker]
|
2017-10-31 13:39:21 +02:00
|
|
|
control_plane_ip: 10.2.2.2
|
2017-10-29 11:45:21 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
etcd:
|
|
|
|
version: latest
|
|
|
|
image: quay.io/coreos/etcd
|
|
|
|
kube-api:
|
|
|
|
version: v1.7.5_coreos.0
|
|
|
|
image: quay.io/coreos/hyperkube
|
2017-10-30 08:31:06 +02:00
|
|
|
service_cluster_ip_range: 10.233.0.0/18
|
2017-10-29 11:45:21 +02:00
|
|
|
kube-controller:
|
|
|
|
version: v1.7.5_coreos.0
|
|
|
|
image: quay.io/coreos/hyperkube
|
2017-10-30 08:31:06 +02:00
|
|
|
cluster_cider: 10.233.64.0/18
|
|
|
|
service_cluster_ip_range: 10.233.0.0/18
|
2017-10-29 11:45:21 +02:00
|
|
|
scheduler:
|
|
|
|
version: v1.7.5_coreos.0
|
|
|
|
image: quay.io/coreos/hyperkube
|
|
|
|
kubelet:
|
|
|
|
version: v1.7.5_coreos.0
|
|
|
|
image: quay.io/coreos/hyperkube
|
2017-10-30 08:31:06 +02:00
|
|
|
cluster_domain: cluster.local
|
|
|
|
infra_container_image: gcr.io/google_containers/pause-amd64:3.0
|
2017-10-29 11:45:21 +02:00
|
|
|
kubeproxy:
|
|
|
|
version: v1.7.5_coreos.0
|
|
|
|
image: quay.io/coreos/hyperkube
|