-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars-sample.yaml
74 lines (56 loc) · 2.42 KB
/
vars-sample.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
# Unique token for your etcd cluster. Change when making a new cluster.
ETCD_INITIAL_CLUSTER_TOKEN: square-cluster
# URL for the API server (IP is of the master's machine)
MASTER_IP: <master ip>
# URL for the API server (IP is of the master's machine)
MASTER_URL: https://<master ip>
# Name of cloud provider (can be left empty)
CLOUD_PROVIDER: aws
# The name of the Ansible group where all the etcd machines belong.
# Used by etcd-node.
ETCD_ANSIBLE_GROUP: etcd
# List all the etcd client endpoints. Used by flannel and the master.
# We are not re-using ETCD_ANSIBLE_GROUP
# here, since a playbook forgroup since these could be private IPs (and we do
# not gather facts for that group)
ETCD_HOSTS:
- http://<master ip>:2379
- http://<etcdnode ip>:2379
- http://<etcdnode ip>:2379
# OPTIONAL: Public IP of the API server. This is used by the certificate
# generation code to add this IP address to the certificate.
#MASTER_PUBLIC_HOST: 52.26.12.13
# --------------------------------------------
# DEFAULT VALUES THAT YOU DO NOT HAVE TO TOUCH
# --------------------------------------------
# Local directory (on the machine running ansible) where the TLS certificates
# are found.
# The directory should contain the following files:
# - ca.pem: certificate authority public certificate.
# - apiserver.pem: public certificate of the API server.
# - apiserver-key.pem: private key of the API server.
# - worker.pem: public certificate of the minion.
# - worker-key.pem: private key of the minion.
# - admin.pem: public certificate of an admin user.
# - admin-key.pem: private key of the admin user.
LOCAL_SSL_DIR: ./kube-tls/certs/
# Setup kubeconfig on core's directory on master.
SETUP_KUBECONFIG_ON_MASTER: yes
# IP subnet for pods (via flannel)
POD_NETWORK: 10.2.0.0/16
# IP subnet for services (via flannel)
SERVICE_IP_RANGE: 10.3.0.0/24
# Kubernetes API server - service address.
K8S_SERVICE_IP: 10.3.0.1
# Kubernetes DNS server - service address.
DNS_SERVICE_IP: 10.3.0.10
#kubernetes version
KUBERNETES_VERSION: 1.1.2
# Hyperkube is an all in one docker image that contains an apiserver,
# kubeproxy and various other binaries.
HYPERKUBE_IMAGE: thesamet-docker-registry.bintray.io/kubernetes/hyperkube:v1.1.2-0ede84e6
# Path to download kubelet from.
KUBELET_BINARY: https://s3.amazonaws.com/opsitters/kubernetes-release/v1.1.2/kubelet
# Path to download kubectl form.
KUBECTL_BINARY: https://s3.amazonaws.com/opsitters/kubernetes-release/v1.1.2/kubectl