2017-08-24 09:09:52 +00:00
|
|
|
---
|
2017-05-12 14:32:37 +00:00
|
|
|
# Valid options: docker (default), rkt, or host
|
2017-08-21 07:53:49 +00:00
|
|
|
kubelet_deployment_type: host
|
2017-05-12 14:32:37 +00:00
|
|
|
|
2016-10-24 13:11:52 +00:00
|
|
|
# change to 0.0.0.0 to enable insecure access from anywhere (not recommended)
|
|
|
|
kube_apiserver_insecure_bind_address: 127.0.0.1
|
|
|
|
|
2017-11-03 10:19:37 +00:00
|
|
|
# advertised host IP for kubelet. This affects network plugin config. Take caution
|
|
|
|
kubelet_address: "{{ ip | default(ansible_default_ipv4['address']) }}"
|
|
|
|
|
|
|
|
# bind address for kubelet. Set to 0.0.0.0 to listen on all interfaces
|
|
|
|
kubelet_bind_address: "{{ ip | default('0.0.0.0') }}"
|
|
|
|
|
2016-07-20 08:57:47 +00:00
|
|
|
# resolv.conf to base dns config
|
|
|
|
kube_resolv_conf: "/etc/resolv.conf"
|
|
|
|
|
2016-07-12 08:20:43 +00:00
|
|
|
kube_proxy_mode: iptables
|
2015-11-27 11:32:31 +00:00
|
|
|
|
2017-02-10 10:16:19 +00:00
|
|
|
# If using the pure iptables proxy, SNAT everything. Note that it breaks any
|
|
|
|
# policy engine.
|
|
|
|
kube_proxy_masquerade_all: false
|
2016-10-03 10:08:41 +00:00
|
|
|
|
2017-04-05 10:47:03 +00:00
|
|
|
# These options reflect limitations of running kubelet in a container.
|
|
|
|
# Modify at your own risk
|
2017-08-21 07:53:49 +00:00
|
|
|
kubelet_enable_cri: true
|
|
|
|
kubelet_cgroups_per_qos: true
|
2017-04-05 10:47:03 +00:00
|
|
|
# Set to empty to avoid cgroup creation
|
2017-07-19 14:57:36 +00:00
|
|
|
kubelet_enforce_node_allocatable: "\"\""
|
2017-10-11 18:47:42 +00:00
|
|
|
|
2017-10-11 13:55:51 +00:00
|
|
|
# Set false to enable sharing a pid namespace between containers in a pod.
|
|
|
|
# Note that PID namespace sharing requires docker >= 1.13.1.
|
|
|
|
kubelet_disable_shared_pid: true
|
2017-04-05 10:47:03 +00:00
|
|
|
|
2017-10-11 18:49:31 +00:00
|
|
|
### fail with swap on (default true)
|
|
|
|
kubelet_fail_swap_on: true
|
|
|
|
|
2017-10-11 18:47:42 +00:00
|
|
|
# Reserve this space for system resources
|
|
|
|
kubelet_memory_limit: 256M
|
2016-12-23 14:44:44 +00:00
|
|
|
kubelet_cpu_limit: 100m
|
2017-10-11 18:47:42 +00:00
|
|
|
# Reservation for master hosts
|
|
|
|
kubelet_master_memory_limit: 512M
|
|
|
|
kubelet_master_cpu_limit: 200m
|
|
|
|
|
2017-02-07 14:01:02 +00:00
|
|
|
kubelet_status_update_frequency: 10s
|
2017-10-11 18:47:42 +00:00
|
|
|
|
|
|
|
# Limits for kube components and nginx load balancer app
|
2016-12-23 14:44:44 +00:00
|
|
|
kube_proxy_memory_limit: 2000M
|
|
|
|
kube_proxy_cpu_limit: 500m
|
2017-02-27 16:53:43 +00:00
|
|
|
kube_proxy_memory_requests: 64M
|
2016-12-23 14:44:44 +00:00
|
|
|
kube_proxy_cpu_requests: 150m
|
|
|
|
nginx_memory_limit: 512M
|
|
|
|
nginx_cpu_limit: 300m
|
2017-02-27 16:53:43 +00:00
|
|
|
nginx_memory_requests: 32M
|
2017-03-23 09:11:30 +00:00
|
|
|
nginx_cpu_requests: 25m
|
2016-12-23 14:44:44 +00:00
|
|
|
|
2016-03-17 09:22:52 +00:00
|
|
|
# kube_api_runtime_config:
|
|
|
|
# - extensions/v1beta1/daemonsets=true
|
|
|
|
# - extensions/v1beta1/deployments=true
|
2016-09-28 11:05:08 +00:00
|
|
|
|
|
|
|
nginx_image_repo: nginx
|
2017-11-29 10:39:52 +00:00
|
|
|
nginx_image_tag: 1.13
|
2017-01-10 04:54:01 +00:00
|
|
|
|
|
|
|
etcd_config_dir: /etc/ssl/etcd
|
2017-02-03 15:26:30 +00:00
|
|
|
|
|
|
|
# A port range to reserve for services with NodePort visibility.
|
|
|
|
# Inclusive at both ends of the range.
|
|
|
|
kube_apiserver_node_port_range: "30000-32767"
|
2017-02-09 16:25:44 +00:00
|
|
|
|
|
|
|
kubelet_load_modules: false
|
2017-04-14 21:33:04 +00:00
|
|
|
|
2017-08-24 09:09:52 +00:00
|
|
|
## Support custom flags to be passed to kubelet
|
2017-05-12 14:32:37 +00:00
|
|
|
kubelet_custom_flags: []
|
2017-06-07 21:09:36 +00:00
|
|
|
|
|
|
|
# This setting is used for rkt based kubelet for deploying hyperkube
|
|
|
|
# from a docker based registry ( controls --insecure and docker:// )
|
|
|
|
## Empty vaule for quay.io containers
|
|
|
|
## docker for docker registry containers
|
|
|
|
kube_hyperkube_image_repo: ""
|
2017-07-13 14:04:39 +00:00
|
|
|
|
|
|
|
# If non-empty, will use this string as identification instead of the actual hostname
|
|
|
|
kube_override_hostname: "{{ ansible_hostname }}"
|
2017-11-06 13:50:28 +00:00
|
|
|
|
|
|
|
# cAdvisor port
|
|
|
|
kube_cadvisor_port: 0
|