-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.yaml
81 lines (71 loc) · 2.21 KB
/
defaults.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
74
75
76
77
78
79
80
81
---
#######################################################
# Default configuration values for CoreOS cloud config.
########################################################
domain: mydomain.com
dest_dir: /tmp
master_dest_dir: '{{ dest_dir }}'
node_dest_dir: '{{ dest_dir }}'
etcd_node_dest_dir: '{{ dest_dir }}'
coreos:
update_group: stable
etcd:
count: 2
servers: # Set dynamically by launch script or overridden in sub-config
addr: "$private_ipv4"
peer_addr: "$private_ipv4"
servers: # Set dynamically (aws) or in subconfig (vagrant)
reboot_strategy: "best-effort"
flannel:
interface: eth0
fleet:
extra_metadata: "" # labels a node with extra metadata (optional)
public_ip: "$public_ipv4"
# Add a private Docker registry
docker:
registry: {{ DOCKER_REGISTRY }}
registry_auth_token: {{ DOCKER_REGISTRY_AUTH_TOKEN }}
registry_email: {{ DOCKER_REGISTRY_EMAIL }}
kubernetes:
version: {{ KUBERNETES_VERSION }}
log_level: 2
secure_port: 6443
insecure_port: 8080
master_ip: &KUBERNETES_MASTER_IP 172.17.8.101
api_servers: !join [*KUBERNETES_MASTER_IP, ":8080" ]
kubelet_hostname_override: "$private_ipv4"
cluster_dns: {{ KUBERNETES_CLUSTER_DNS }} # Fixed IP set in DNS resource config. Use when running SkyDNS in pod.
cluster_domain: {{ KUBERNETES_CLUSTER_DOMAIN }}
service_cluster_ip_range: {{ KUBERNETES_SERVICE_CLUSTER_IP_RANGE }}
cloud_provider: ""
aws_access_key_id: {{ KUBERNETES_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: {{ KUBERNETES_AWS_SECRET_ACCESS_KEY }}
node:
count: 3
reboot_strategy: "off"
# See subconfig
master:
count: 1
reboot_strategy: "best-effort"
# See subconfig
tokens:
# Tokens used by Kubernetes services to authenticate with the
# apiserver (master). Tokens are genarated anew for each
# cloud config.
kubelet: {{ 32 | kube_token }}
kube_proxy: {{ 32 | kube_token }}
scheduler: {{ 32 | kube_token }}
controller_manager: {{ 32 | kube_token }}
logging: {{ 32 | kube_token }}
monitoring: {{ 32 | kube_token }}
dns: {{ 32 | kube_token }}
# Add users here:
users:
- name: kube
groups:
- sudo
- docker
- wheel
# - Add keys here:
#ssh-authorized-keys:
# - kube-key