2017-08-24 17:09:52 +08:00
|
|
|
---
|
2017-10-19 00:28:54 +08:00
|
|
|
# Versions
|
2018-09-28 16:20:08 +08:00
|
|
|
kubedns_version: 1.14.13
|
|
|
|
kubednsautoscaler_version: 1.2.0
|
2017-10-19 00:28:54 +08:00
|
|
|
|
2016-11-25 18:33:39 +08:00
|
|
|
# Limits for dnsmasq/kubedns apps
|
|
|
|
dns_memory_limit: 170Mi
|
2017-06-22 16:05:37 +08:00
|
|
|
dns_cpu_requests: 100m
|
|
|
|
dns_memory_requests: 70Mi
|
2018-11-15 17:28:03 +08:00
|
|
|
dns_min_replicas: 2
|
|
|
|
dns_nodes_per_replica: 10
|
2018-11-16 01:52:12 +08:00
|
|
|
dns_cores_per_replica: 20
|
2018-11-17 15:57:47 +08:00
|
|
|
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas > 1 else 'false' }}"
|
2018-03-13 19:00:05 +08:00
|
|
|
|
2017-10-19 00:28:54 +08:00
|
|
|
# Images
|
2018-08-23 22:47:18 +08:00
|
|
|
image_arch: "{{host_architecture}}"
|
|
|
|
|
2017-12-18 16:12:47 +08:00
|
|
|
kubedns_image_repo: "gcr.io/google_containers/k8s-dns-kube-dns-{{ image_arch }}"
|
2017-10-19 00:28:54 +08:00
|
|
|
kubedns_image_tag: "{{ kubedns_version }}"
|
2017-12-18 16:12:47 +08:00
|
|
|
dnsmasq_nanny_image_repo: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-{{ image_arch }}"
|
2017-10-19 00:28:54 +08:00
|
|
|
dnsmasq_nanny_image_tag: "{{ kubedns_version }}"
|
2017-12-18 16:12:47 +08:00
|
|
|
dnsmasq_sidecar_image_repo: "gcr.io/google_containers/k8s-dns-sidecar-{{ image_arch }}"
|
2017-10-19 00:28:54 +08:00
|
|
|
dnsmasq_sidecar_image_tag: "{{ kubedns_version }}"
|
2018-11-15 17:28:03 +08:00
|
|
|
dnsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-{{ image_arch }}"
|
|
|
|
dnsautoscaler_image_tag: "{{ kubednsautoscaler_version }}"
|
2017-10-19 00:28:54 +08:00
|
|
|
|
2016-09-30 23:23:47 +08:00
|
|
|
# Netchecker
|
|
|
|
deploy_netchecker: false
|
|
|
|
netchecker_port: 31081
|
|
|
|
agent_report_interval: 15
|
|
|
|
netcheck_namespace: default
|
2018-09-30 11:44:01 +08:00
|
|
|
agent_img: "{{ netcheck_agent_image_repo }}:{{ netcheck_agent_image_tag }}"
|
|
|
|
server_img: "{{ netcheck_server_image_repo }}:{{ netcheck_server_image_tag }}"
|
2016-09-30 23:23:47 +08:00
|
|
|
|
2016-12-23 22:44:44 +08:00
|
|
|
# Limits for netchecker apps
|
|
|
|
netchecker_agent_cpu_limit: 30m
|
|
|
|
netchecker_agent_memory_limit: 100M
|
|
|
|
netchecker_agent_cpu_requests: 15m
|
|
|
|
netchecker_agent_memory_requests: 64M
|
|
|
|
netchecker_server_cpu_limit: 100m
|
|
|
|
netchecker_server_memory_limit: 256M
|
|
|
|
netchecker_server_cpu_requests: 50m
|
2017-02-28 00:53:43 +08:00
|
|
|
netchecker_server_memory_requests: 64M
|
2016-12-23 22:44:44 +08:00
|
|
|
|
2018-08-23 00:16:13 +08:00
|
|
|
# SecurityContext when PodSecurityPolicy is enabled
|
|
|
|
netchecker_agent_user: 1000
|
|
|
|
netchecker_server_user: 1000
|
|
|
|
netchecker_agent_group: 1000
|
|
|
|
netchecker_server_group: 1000
|
|
|
|
|
2017-09-10 04:38:03 +08:00
|
|
|
# Dashboard
|
2017-12-13 12:50:44 +08:00
|
|
|
dashboard_enabled: true
|
2017-12-18 16:12:47 +08:00
|
|
|
dashboard_image_repo: gcr.io/google_containers/kubernetes-dashboard-{{ image_arch }}
|
2018-08-28 19:10:19 +08:00
|
|
|
dashboard_image_tag: v1.10.0
|
2017-09-10 04:38:03 +08:00
|
|
|
|
|
|
|
# Limits for dashboard
|
|
|
|
dashboard_cpu_limit: 100m
|
|
|
|
dashboard_memory_limit: 256M
|
|
|
|
dashboard_cpu_requests: 50m
|
|
|
|
dashboard_memory_requests: 64M
|
|
|
|
|
2017-12-18 23:07:19 +08:00
|
|
|
# Set dashboard_use_custom_certs to true if overriding dashboard_certs_secret_name with a secret that
|
|
|
|
# contains dashboard_tls_key_file and dashboard_tls_cert_file instead of using the initContainer provisioned certs
|
|
|
|
dashboard_use_custom_certs: false
|
|
|
|
dashboard_certs_secret_name: kubernetes-dashboard-certs
|
|
|
|
dashboard_tls_key_file: dashboard.key
|
|
|
|
dashboard_tls_cert_file: dashboard.crt
|
|
|
|
|
2018-07-13 21:26:18 +08:00
|
|
|
# Override dashboard default settings
|
2018-07-19 18:15:47 +08:00
|
|
|
dashboard_token_ttl: 900
|
2018-07-13 21:26:18 +08:00
|
|
|
|
2018-01-10 10:05:46 +08:00
|
|
|
# SSL
|
|
|
|
etcd_cert_dir: "/etc/ssl/etcd/ssl"
|
|
|
|
canal_cert_dir: "/etc/canal/certs"
|