2015-10-04 04:19:50 +08:00
|
|
|
# This directory is where all the additional scripts go
|
|
|
|
# that Kubernetes normally puts in /srv/kubernetes.
|
|
|
|
# This puts them in a sane location
|
|
|
|
kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
|
|
|
|
|
|
|
|
# This directory is where all the additional config stuff goes
|
|
|
|
# the kubernetes normally puts in /srv/kubernets.
|
|
|
|
# This puts them in a sane location.
|
|
|
|
# Editting this value will almost surely break something. Don't
|
|
|
|
# change it. Things like the systemd scripts are hard coded to
|
|
|
|
# look in here. Don't do it.
|
|
|
|
kube_config_dir: /etc/kubernetes
|
|
|
|
|
|
|
|
# This is where all the cert scripts and certs will be located
|
2015-12-11 18:32:13 +08:00
|
|
|
kube_cert_dir: "{{ kube_config_dir }}/ssl"
|
2015-10-04 04:19:50 +08:00
|
|
|
|
|
|
|
# This is where all of the bearer tokens will be stored
|
|
|
|
kube_token_dir: "{{ kube_config_dir }}/tokens"
|
|
|
|
|
|
|
|
# This is where to save basic auth file
|
|
|
|
kube_users_dir: "{{ kube_config_dir }}/users"
|
|
|
|
|
|
|
|
# This is where you can drop yaml/json files and the kubelet will run those
|
|
|
|
# pods on startup
|
|
|
|
kube_manifest_dir: "{{ kube_config_dir }}/manifests"
|
|
|
|
|
2016-01-22 21:25:33 +08:00
|
|
|
# Logging directory (sysvinit systems)
|
|
|
|
kube_log_dir: "/var/log/kubernetes"
|
|
|
|
|
2015-10-04 04:19:50 +08:00
|
|
|
dns_domain: "{{ cluster_name }}"
|
|
|
|
|
2015-12-09 22:03:57 +08:00
|
|
|
kube_proxy_mode: userspace
|
2015-11-27 19:32:31 +08:00
|
|
|
|
2016-06-16 02:25:58 +08:00
|
|
|
hyperkube_image_repo: "quay.io/smana/kubernetes-hyperkube"
|
2016-07-03 20:14:09 +08:00
|
|
|
hyperkube_image_tag: "v1.3.0"
|
2015-12-11 18:32:13 +08:00
|
|
|
|
2015-10-04 04:19:50 +08:00
|
|
|
# IP address of the DNS server.
|
|
|
|
# Kubernetes will create a pod with several containers, serving as the DNS
|
|
|
|
# server and expose it under this IP address. The IP address must be from
|
|
|
|
# the range specified as kube_service_addresses. This magic will actually
|
|
|
|
# pick the 10th ip address in the kube_service_addresses range and use that.
|
2015-12-11 18:32:13 +08:00
|
|
|
dns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(253)|ipaddr('address') }}"
|
2015-11-27 19:32:31 +08:00
|
|
|
|
2016-03-17 17:22:52 +08:00
|
|
|
# kube_api_runtime_config:
|
|
|
|
# - extensions/v1beta1/daemonsets=true
|
|
|
|
# - extensions/v1beta1/deployments=true
|