2017-08-24 09:09:52 +00:00
|
|
|
---
|
2016-08-25 09:16:14 +00:00
|
|
|
# An experimental dev/test only dynamic volumes provisioner,
|
|
|
|
# for PetSets. Works for kube>=v1.3 only.
|
|
|
|
kube_hostpath_dynamic_provisioner: "false"
|
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-29 15:24:02 +00:00
|
|
|
# By default the external API listens on all interfaces, this can be changed to
|
|
|
|
# listen on a specific address/interface.
|
|
|
|
kube_apiserver_bind_address: 0.0.0.0
|
|
|
|
|
2016-11-18 12:56:55 +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"
|
|
|
|
|
2016-11-09 10:44:41 +00:00
|
|
|
# ETCD cert dir for connecting apiserver to etcd
|
|
|
|
etcd_config_dir: /etc/ssl/etcd
|
|
|
|
etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
|
|
|
|
|
2017-03-06 10:22:13 +00:00
|
|
|
# ETCD backend for k8s data
|
|
|
|
kube_apiserver_storage_backend: etcd3
|
|
|
|
|
2017-03-30 13:08:13 +00:00
|
|
|
# By default, force back to etcd2. Set to true to force etcd3 (experimental!)
|
|
|
|
force_etcd3: false
|
|
|
|
|
2016-12-23 14:44:44 +00:00
|
|
|
# Limits for kube components
|
|
|
|
kube_controller_memory_limit: 512M
|
|
|
|
kube_controller_cpu_limit: 250m
|
2017-03-23 09:11:30 +00:00
|
|
|
kube_controller_memory_requests: 100M
|
2016-12-23 14:44:44 +00:00
|
|
|
kube_controller_cpu_requests: 100m
|
2017-02-07 14:01:02 +00:00
|
|
|
kube_controller_node_monitor_grace_period: 40s
|
|
|
|
kube_controller_node_monitor_period: 5s
|
|
|
|
kube_controller_pod_eviction_timeout: 5m0s
|
2016-12-23 14:44:44 +00:00
|
|
|
kube_scheduler_memory_limit: 512M
|
|
|
|
kube_scheduler_cpu_limit: 250m
|
|
|
|
kube_scheduler_memory_requests: 170M
|
2017-03-23 09:11:30 +00:00
|
|
|
kube_scheduler_cpu_requests: 80m
|
2016-12-23 14:44:44 +00:00
|
|
|
kube_apiserver_memory_limit: 2000M
|
|
|
|
kube_apiserver_cpu_limit: 800m
|
|
|
|
kube_apiserver_memory_requests: 256M
|
2017-03-23 09:11:30 +00:00
|
|
|
kube_apiserver_cpu_requests: 100m
|
2017-02-27 12:24:21 +00:00
|
|
|
|
2017-04-17 02:03:45 +00:00
|
|
|
# Admission control plug-ins
|
|
|
|
kube_apiserver_admission_control:
|
2017-10-24 16:28:07 +00:00
|
|
|
- Initializers
|
2017-04-17 02:03:45 +00:00
|
|
|
- NamespaceLifecycle
|
|
|
|
- LimitRanger
|
|
|
|
- ServiceAccount
|
|
|
|
- DefaultStorageClass
|
2017-12-20 10:48:09 +00:00
|
|
|
- >-
|
|
|
|
{%- if kube_version | version_compare('v1.9', '<') -%}
|
|
|
|
GenericAdmissionWebhook
|
|
|
|
{%- else -%}
|
|
|
|
ValidatingAdmissionWebhook
|
|
|
|
{%- endif -%}
|
2017-10-24 16:28:07 +00:00
|
|
|
- ResourceQuota
|
2017-10-13 14:42:54 +00:00
|
|
|
|
|
|
|
# extra runtime config
|
|
|
|
kube_api_runtime_config:
|
|
|
|
- admissionregistration.k8s.io/v1alpha1
|
2017-02-27 13:15:50 +00:00
|
|
|
|
|
|
|
## Enable/Disable Kube API Server Authentication Methods
|
2017-10-15 19:41:17 +00:00
|
|
|
kube_basic_auth: false
|
|
|
|
kube_token_auth: false
|
2017-02-27 13:15:50 +00:00
|
|
|
kube_oidc_auth: false
|
|
|
|
|
2017-02-27 12:24:21 +00:00
|
|
|
## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
|
|
|
|
## To use OpenID you have to deploy additional an OpenID Provider (e.g Dex, Keycloak, ...)
|
2017-02-27 13:15:50 +00:00
|
|
|
|
2017-08-24 09:09:52 +00:00
|
|
|
# kube_oidc_url: https:// ...
|
2017-02-27 12:24:21 +00:00
|
|
|
# kube_oidc_client_id: kubernetes
|
|
|
|
## Optional settings for OIDC
|
|
|
|
# kube_oidc_ca_file: {{ kube_cert_dir }}/ca.pem
|
|
|
|
# kube_oidc_username_claim: sub
|
|
|
|
# kube_oidc_groups_claim: groups
|
2017-04-14 21:33:04 +00:00
|
|
|
|
2017-08-24 09:09:52 +00:00
|
|
|
## Variables for custom flags
|
2017-04-14 21:33:04 +00:00
|
|
|
apiserver_custom_flags: []
|
|
|
|
|
|
|
|
controller_mgr_custom_flags: []
|
|
|
|
|
2017-06-27 04:27:25 +00:00
|
|
|
scheduler_custom_flags: []
|
2017-09-13 18:00:51 +00:00
|
|
|
|
2018-02-05 13:49:13 +00:00
|
|
|
## Extra args for k8s components passing by kubeadm
|
2018-02-12 07:29:46 +00:00
|
|
|
kube_kubeadm_apiserver_extra_args: {}
|
2018-02-05 13:49:13 +00:00
|
|
|
kube_kubeadm_controller_extra_args: {}
|
|
|
|
kube_kubeadm_scheduler_extra_args: {}
|
2018-01-18 10:55:23 +00:00
|
|
|
|
|
|
|
## Variable for influencing kube-scheduler behaviour
|
2018-01-23 13:14:00 +00:00
|
|
|
volume_cross_zone_attachment: false
|