2019-12-04 23:22:57 +08:00
# Configurable Parameters in Kubespray
2016-12-23 00:57:39 +08:00
2019-12-04 23:22:57 +08:00
## Generic Ansible variables
2016-12-23 00:57:39 +08:00
You can view facts gathered by Ansible automatically
2021-09-29 00:58:43 +08:00
[here ](https://docs.ansible.com/ansible/latest/user_guide/playbooks_vars_facts.html#ansible-facts ).
2016-12-23 00:57:39 +08:00
Some variables of note include:
* *ansible_user*: user to connect to via SSH
* *ansible_default_ipv4.address*: IP address Ansible automatically chooses.
Generated based on the output from the command ``ip -4 route get 8.8.8.8``
2019-12-04 23:22:57 +08:00
## Common vars that are used in Kubespray
2016-12-23 00:57:39 +08:00
* *calico_version* - Specify version of Calico to use
* *calico_cni_version* - Specify version of Calico CNI plugin to use
2022-08-23 14:31:24 +08:00
* *docker_version* - Specify version of Docker to use (should be quoted
2018-12-27 21:32:16 +08:00
string). Must match one of the keys defined for *docker_versioned_pkg*
in `roles/container-engine/docker/vars/*.yml` .
2021-11-09 07:56:49 +08:00
* *containerd_version* - Specify version of containerd to use when setting `container_manager` to `containerd`
* *docker_containerd_version* - Specify which version of containerd to use when setting `container_manager` to `docker`
2016-12-23 00:57:39 +08:00
* *etcd_version* - Specify version of ETCD to use
2022-03-18 09:05:39 +08:00
* *calico_ipip_mode* - Configures Calico ipip encapsulation - valid values are 'Never', 'Always' and 'CrossSubnet' (default 'Never')
* *calico_vxlan_mode* - Configures Calico vxlan encapsulation - valid values are 'Never', 'Always' and 'CrossSubnet' (default 'Always')
* *calico_network_backend* - Configures Calico network backend - valid values are 'none', 'bird' and 'vxlan' (default 'vxlan')
2017-02-15 21:15:22 +08:00
* *kube_network_plugin* - Sets k8s network plugin (default Calico)
2016-12-23 00:57:39 +08:00
* *kube_proxy_mode* - Changes k8s proxy mode to iptables mode
2020-12-03 05:50:59 +08:00
* *kube_version* - Specify a given Kubernetes version
2016-12-23 00:57:39 +08:00
* *searchdomains* - Array of DNS domains to search when looking up hostnames
2022-09-24 01:28:26 +08:00
* *remove_default_searchdomains* - Boolean that removes the default searchdomain
2016-12-23 00:57:39 +08:00
* *nameservers* - Array of nameservers to use for DNS lookup
2021-08-28 05:20:53 +08:00
* *preinstall_selinux_state* - Set selinux state, permitted values are permissive, enforcing and disabled.
2016-12-23 00:57:39 +08:00
2019-12-04 23:22:57 +08:00
## Addressing variables
2016-12-23 00:57:39 +08:00
* *ip* - IP to use for binding services (host var)
* *access_ip* - IP for other hosts to use to connect to. Often required when
2017-01-02 18:40:56 +08:00
deploying from a cloud, such as OpenStack or GCE and you have separate
2016-12-23 00:57:39 +08:00
public/floating and private IPs.
2017-06-17 01:25:46 +08:00
* *ansible_default_ipv4.address* - Not Kubespray-specific, but it is used if ip
2016-12-23 00:57:39 +08:00
and access_ip are undefined
2022-02-15 16:28:02 +08:00
* *ip6* - IPv6 address to use for binding services. (host var)
If *enable_dual_stack_networks* is set to ``true`` and *ip6* is defined,
kubelet's ``--node-ip`` and node's ``InternalIP`` will be the combination of *ip* and *ip6* .
2016-12-23 00:57:39 +08:00
* *loadbalancer_apiserver* - If defined, all hosts will connect to this
2021-03-24 08:26:05 +08:00
address instead of localhost for kube_control_planes and kube_control_plane[0] for
2021-04-29 20:20:50 +08:00
kube_nodes. See more details in the
2020-06-26 02:56:37 +08:00
[HA guide ](/docs/ha-mode.md ).
2017-02-10 18:23:19 +08:00
* *loadbalancer_apiserver_localhost* - makes all hosts to connect to
the apiserver internally load balanced endpoint. Mutual exclusive to the
`loadbalancer_apiserver` . See more details in the
2020-06-26 02:56:37 +08:00
[HA guide ](/docs/ha-mode.md ).
2016-12-23 00:57:39 +08:00
2019-12-04 23:22:57 +08:00
## Cluster variables
2016-12-23 00:57:39 +08:00
Kubernetes needs some parameters in order to get deployed. These are the
2018-10-19 23:12:37 +08:00
following default cluster parameters:
2016-12-23 00:57:39 +08:00
* *cluster_name* - Name of cluster (default is cluster.local)
2022-05-03 02:03:15 +08:00
2022-01-12 07:35:24 +08:00
* *container_manager* - Container Runtime to install in the nodes (default is containerd)
2022-05-03 02:03:15 +08:00
2022-01-12 07:35:24 +08:00
* *image_command_tool* - Tool used to pull images (default depends on `container_manager`
and is `nerdctl` for `containerd` , `crictl` for `crio` , `docker` for `docker` )
2022-05-03 02:03:15 +08:00
2022-01-12 07:35:24 +08:00
* *image_command_tool_on_localhost* - Tool used to pull images on localhost
(default is equal to `image_command_tool` )
2022-05-03 02:03:15 +08:00
2018-10-08 22:08:51 +08:00
* *dns_domain* - Name of cluster DNS domain (default is cluster.local)
2022-05-03 02:03:15 +08:00
2016-12-23 00:57:39 +08:00
* *kube_network_plugin* - Plugin to use for container networking
2022-05-03 02:03:15 +08:00
2016-12-23 00:57:39 +08:00
* *kube_service_addresses* - Subnet for cluster IPs (default is
10.233.0.0/18). Must not overlap with kube_pods_subnet
2022-05-03 02:03:15 +08:00
2016-12-23 00:57:39 +08:00
* *kube_pods_subnet* - Subnet for Pod IPs (default is 10.233.64.0/18). Must not
overlap with kube_service_addresses.
2022-05-03 02:03:15 +08:00
2019-08-17 10:12:09 +08:00
* *kube_network_node_prefix* - Subnet allocated per-node for pod IPs. Remaining
2021-04-29 20:20:50 +08:00
bits in kube_pods_subnet dictates how many kube_nodes can be in cluster. Setting this > 25 will
2020-02-20 16:39:03 +08:00
raise an assertion in playbooks if the `kubelet_max_pods` var also isn't adjusted accordingly
(assertion not applicable to calico which doesn't use this as a hard limit, see
2023-02-01 16:01:06 +08:00
[Calico IP block sizes ](https://docs.projectcalico.org/reference/resources/ippool#block-sizes )).
2022-08-24 21:54:03 +08:00
2020-10-26 15:10:53 +08:00
* *enable_dual_stack_networks* - Setting this to true will provision both IPv4 and IPv6 networking for pods and services.
2022-05-03 02:03:15 +08:00
2020-10-26 15:10:53 +08:00
* *kube_service_addresses_ipv6* - Subnet for cluster IPv6 IPs (default is ``fd85:ee78:d8a6:8607::1000/116``). Must not overlap with ``kube_pods_subnet_ipv6``.
2022-05-03 02:03:15 +08:00
2020-10-26 15:10:53 +08:00
* *kube_pods_subnet_ipv6* - Subnet for Pod IPv6 IPs (default is ``fd85:ee78:d8a6:8607::1:0000/112``). Must not overlap with ``kube_service_addresses_ipv6``.
2022-05-03 02:03:15 +08:00
2021-04-29 20:20:50 +08:00
* *kube_network_node_prefix_ipv6* - Subnet allocated per-node for pod IPv6 IPs. Remaining bits in ``kube_pods_subnet_ipv6`` dictates how many kube_nodes can be in cluster.
2022-05-03 02:03:15 +08:00
2018-03-13 19:00:05 +08:00
* *skydns_server* - Cluster IP for DNS (default is 10.233.0.3)
2022-05-03 02:03:15 +08:00
2018-03-13 19:00:05 +08:00
* *skydns_server_secondary* - Secondary Cluster IP for CoreDNS used with coredns_dual deployment (default is 10.233.0.4)
2022-05-03 02:03:15 +08:00
2019-07-16 15:53:23 +08:00
* *enable_coredns_k8s_external* - If enabled, it configures the [k8s_external plugin ](https://coredns.io/plugins/k8s_external/ )
on the CoreDNS service.
2022-05-03 02:03:15 +08:00
2019-07-16 15:53:23 +08:00
* *coredns_k8s_external_zone* - Zone that will be used when CoreDNS k8s_external plugin is enabled
(default is k8s_external.local)
2022-08-24 21:54:03 +08:00
2019-08-01 02:26:15 +08:00
* *enable_coredns_k8s_endpoint_pod_names* - If enabled, it configures endpoint_pod_names option for kubernetes plugin.
on the CoreDNS service.
2022-05-03 02:03:15 +08:00
2016-12-23 00:57:39 +08:00
* *cloud_provider* - Enable extra Kubelet option if operating inside GCE or
OpenStack (default is unset)
2022-05-03 02:03:15 +08:00
2017-08-25 04:18:38 +08:00
* *kube_feature_gates* - A list of key=value pairs that describe feature gates for
2022-04-05 20:39:37 +08:00
alpha/experimental Kubernetes features. (defaults is `[]` ).
Additionally, you can use also the following variables to individually customize your kubernetes components installation (they works exactly like `kube_feature_gates` ):
* *kube_apiserver_feature_gates*
* *kube_controller_feature_gates*
* *kube_scheduler_feature_gates*
* *kube_proxy_feature_gates*
* *kubelet_feature_gates*
2022-05-03 02:03:15 +08:00
2021-04-12 16:05:59 +08:00
* *kubeadm_feature_gates* - A list of key=value pairs that describe feature gates for
alpha/experimental Kubeadm features. (defaults is `[]` )
2022-05-03 02:03:15 +08:00
2017-06-27 12:27:25 +08:00
* *authorization_modes* - A list of [authorization mode](
2023-05-31 10:35:47 +08:00
https://kubernetes.io/docs/reference/access-authn-authz/authorization/#using-flags-for-your-authorization-module)
2017-10-14 18:28:46 +08:00
that the cluster should be configured for. Defaults to `['Node', 'RBAC']`
(Node and RBAC authorizers).
Note: `Node` and `RBAC` are enabled by default. Previously deployed clusters can be
2017-10-05 17:51:21 +08:00
converted to RBAC mode. However, your apps which rely on Kubernetes API will
require a service account and cluster role bindings. You can override this
setting by setting authorization_modes to `[]` .
2016-12-23 00:57:39 +08:00
2022-05-03 02:03:15 +08:00
* *kube_apiserver_admission_control_config_file* - Enable configuration for `kube-apiserver` admission plugins.
Currently this variable allow you to configure the `EventRateLimit` admission plugin.
To configure the **EventRateLimit** plugin you have to define a data structure like this:
```yml
kube_apiserver_admission_event_rate_limits:
limit_1:
type: Namespace
qps: 50
burst: 100
cache_size: 2000
limit_2:
type: User
qps: 50
burst: 100
...
```
2022-05-06 15:39:07 +08:00
* *kube_apiserver_service_account_lookup* - Enable validation service account before validating token. Default `true` .
2017-01-02 18:40:56 +08:00
Note, if cloud providers have any use of the ``10.233.0.0/16``, like instances'
private addresses, make sure to pick another values for ``kube_service_addresses``
and ``kube_pods_subnet``, for example from the ``172.18.0.0/16``.
2020-10-26 15:10:53 +08:00
## Enabling Dual Stack (IPV4 + IPV6) networking
If *enable_dual_stack_networks* is set to ``true``, Dual Stack networking will be enabled in the cluster. This will use the default IPv4 and IPv6 subnets specified in the defaults file in the ``kubespray-defaults`` role, unless overridden of course. The default config will give you room for up to 256 nodes with 126 pods per node, and up to 4096 services.
2019-12-04 23:22:57 +08:00
## DNS variables
2016-12-23 00:57:39 +08:00
2019-04-02 03:32:34 +08:00
By default, hosts are set up with 8.8.8.8 as an upstream DNS server and all
2016-12-23 00:57:39 +08:00
other settings from your existing /etc/resolv.conf are lost. Set the following
variables to match your requirements.
* *upstream_dns_servers* - Array of upstream DNS servers configured on host in
2017-06-17 01:25:46 +08:00
addition to Kubespray deployed DNS
2019-04-02 03:32:34 +08:00
* *nameservers* - Array of DNS servers configured for use by hosts
2016-12-23 00:57:39 +08:00
* *searchdomains* - Array of up to 4 search domains
2022-09-24 01:28:26 +08:00
* *remove_default_searchdomains* - Boolean. If enabled, `searchdomains` variable can hold 6 search domains.
2020-06-26 15:03:31 +08:00
* *dns_etchosts* - Content of hosts file for coredns and nodelocaldns
2022-11-08 22:44:25 +08:00
* *dns_upstream_forward_extra_opts* - Options to add in the forward section of coredns/nodelocaldns related to upstream DNS servers
2016-12-23 00:57:39 +08:00
For more information, see [DNS
2018-11-28 16:15:25 +08:00
Stack](https://github.com/kubernetes-sigs/kubespray/blob/master/docs/dns-stack.md).
2016-12-23 00:57:39 +08:00
2019-12-04 23:22:57 +08:00
## Other service variables
2016-12-23 00:57:39 +08:00
* *docker_options* - Commonly used to set
``--insecure-registry=myregistry.mydomain:5000``
2022-08-31 02:18:55 +08:00
2019-08-01 02:26:15 +08:00
* *docker_plugins* - This list can be used to define [Docker plugins ](https://docs.docker.com/engine/extend/ ) to install.
2022-08-31 02:18:55 +08:00
2022-06-28 01:56:59 +08:00
* *containerd_default_runtime* - If defined, changes the default Containerd runtime used by the Kubernetes CRI plugin.
2022-08-31 02:18:55 +08:00
2021-11-05 22:59:54 +08:00
* *containerd_additional_runtimes* - Sets the additional Containerd runtimes used by the Kubernetes CRI plugin.
2022-10-07 17:21:53 +08:00
[Default config ](https://github.com/kubernetes-sigs/kubespray/blob/master/roles/container-engine/containerd/defaults/main.yml ) can be overridden in inventory vars.
2022-08-31 02:18:55 +08:00
2023-11-08 23:57:32 +08:00
* *crio_criu_support_enabled* - When set to `true` , enables the container checkpoint/restore in CRI-O. It's required to install [CRIU ](https://criu.org/Installation ) on the host when dumping/restoring checkpoints. And it's recommended to enable the feature gate `ContainerCheckpoint` so that the kubelet get a higher level API to simplify the operations (**Note**: It's still in experimental stage, just for container analytics so far). You can follow the [documentation ](https://kubernetes.io/blog/2022/12/05/forensic-container-checkpointing-alpha/ ).
2020-10-09 16:15:07 +08:00
* *http_proxy/https_proxy/no_proxy/no_proxy_exclude_workers/additional_no_proxy* - Proxy variables for deploying behind a
2017-10-12 02:47:27 +08:00
proxy. Note that no_proxy defaults to all internal cluster IPs and hostnames
that correspond to each node.
2023-02-06 17:35:16 +08:00
2021-11-30 07:05:21 +08:00
* *kubelet_cgroup_driver* - Allows manual override of the cgroup-driver option for Kubelet.
By default autodetection is used to match container manager configuration.
`systemd` is the preferred driver for `containerd` though it can have issues with `cgroups v1` and `kata-containers` in which case you may want to change to `cgroupfs` .
2022-08-31 02:18:55 +08:00
2019-04-29 16:14:20 +08:00
* *kubelet_rotate_certificates* - Auto rotate the kubelet client certificates by requesting new certificates
2019-04-03 16:35:44 +08:00
from the kube-apiserver when the certificate expiration approaches.
2022-08-31 02:18:55 +08:00
2020-09-03 22:25:41 +08:00
* *kubelet_rotate_server_certificates* - Auto rotate the kubelet server certificates by requesting new certificates
from the kube-apiserver when the certificate expiration approaches.
2023-05-11 08:49:09 +08:00
Note that enabling this also activates *kubelet_csr_approver* which approves automatically the CSRs.
To customize its behavior, you can override the Helm values via *kubelet_csr_approver_values* .
See [kubelet-csr-approver ](https://github.com/postfinance/kubelet-csr-approver ) for more information.
2022-08-31 02:18:55 +08:00
2022-05-10 00:25:19 +08:00
* *kubelet_streaming_connection_idle_timeout* - Set the maximum time a streaming connection can be idle before the connection is automatically closed.
2022-08-31 02:18:55 +08:00
2023-02-27 16:26:19 +08:00
* *kubelet_image_gc_high_threshold* - Set the percent of disk usage after which image garbage collection is always run.
The percent is calculated by dividing this field value by 100, so this field must be between 0 and 100, inclusive.
When specified, the value must be greater than imageGCLowThresholdPercent. Default: 85
* *kubelet_image_gc_low_threshold* - Set the percent of disk usage before which image garbage collection is never run.
Lowest disk usage to garbage collect to.
The percent is calculated by dividing this field value by 100, so the field value must be between 0 and 100, inclusive.
When specified, the value must be less than imageGCHighThresholdPercent. Default: 80
2022-05-10 00:25:19 +08:00
* *kubelet_make_iptables_util_chains* - If `true` , causes the kubelet ensures a set of `iptables` rules are present on host.
2022-08-31 02:18:55 +08:00
2023-07-26 04:12:20 +08:00
* *kubelet_cpu_manager_policy* - If set to `static` , allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. And it should be set with `kube_reserved` or `system-reserved` , enable this with the following guide:[Control CPU Management Policies on the Node](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/)
2023-09-04 14:39:48 +08:00
* *kubelet_topology_manager_policy* - Control the behavior of the allocation of CPU and Memory from different [NUMA ](https://en.wikipedia.org/wiki/Non-uniform_memory_access ) Nodes. Enable this with the following guide: [Control Topology Management Policies on a node ](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager ).
2023-08-18 16:26:28 +08:00
* *kubelet_topology_manager_scope* - The Topology Manager can deal with the alignment of resources in a couple of distinct scopes: `container` and `pod` . See [Topology Manager Scopes ](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes ).
2022-08-31 02:18:55 +08:00
* *kubelet_systemd_hardening* - If `true` , provides kubelet systemd service with security features for isolation.
2023-02-01 16:01:06 +08:00
**N.B.** To enable this feature, ensure you are using the ** `cgroup v2` ** on your system. Check it out with command: `sudo ls -l /sys/fs/cgroup/*.slice` . If directory does not exist, enable this with the following guide: [enable cgroup v2 ](https://rootlesscontaine.rs/getting-started/common/cgroup2/#enabling-cgroup-v2 ).
2022-08-31 02:18:55 +08:00
* *kubelet_secure_addresses* - By default *kubelet_systemd_hardening* set the **control plane** `ansible_host` IPs as the `kubelet_secure_addresses` . In case you have multiple interfaces in your control plane nodes and the `kube-apiserver` is not bound to the default interface, you can override them with this variable.
Example:
2023-02-06 17:35:16 +08:00
2022-08-31 02:18:55 +08:00
The **control plane** node may have 2 interfaces with the following IP addresses: `eth0:10.0.0.110` , `eth1:192.168.1.110` .
2023-02-06 17:35:16 +08:00
2022-08-31 02:18:55 +08:00
By default the `kubelet_secure_addresses` is set with the `10.0.0.110` the ansible control host uses `eth0` to connect to the machine. In case you want to use `eth1` as the outgoing interface on which `kube-apiserver` connects to the `kubelet` s, you should override the variable in this way: `kubelet_secure_addresses: "192.168.1.110"` .
2022-11-09 20:46:12 +08:00
* *node_labels* - Labels applied to nodes via `kubectl label node` .
2018-03-31 06:30:42 +08:00
For example, labels can be set in the inventory as variables or more widely in group_vars.
2021-07-08 05:20:22 +08:00
*node_labels* can only be defined as a dict:
2019-12-04 23:22:57 +08:00
```yml
2018-03-31 06:30:42 +08:00
node_labels:
label1_name: label1_value
label2_name: label2_value
```
2019-12-04 23:22:57 +08:00
2024-01-23 22:46:13 +08:00
* *node_taints* - Taints applied to nodes via `kubectl taint node` .
2018-11-28 07:56:49 +08:00
For example, taints can be set in the inventory as variables or more widely in group_vars.
*node_taints* has to be defined as a list of strings in format `key=value:effect` , e.g.:
2019-12-04 23:22:57 +08:00
```yml
2018-11-28 07:56:49 +08:00
node_taints:
- "node.example.com/external=true:NoSchedule"
```
2019-12-04 23:22:57 +08:00
2018-09-13 23:21:22 +08:00
* *kubernetes_audit* - When set to `true` , enables Auditing.
The auditing parameters can be tuned via the following variables (which default values are shown below):
* `audit_log_path` : /var/log/audit/kube-apiserver-audit.log
* `audit_log_maxage` : 30
2023-03-30 00:35:49 +08:00
* `audit_log_maxbackups` : 10
2018-09-13 23:21:22 +08:00
* `audit_log_maxsize` : 100
* `audit_policy_file` : "{{ kube_config_dir }}/audit-policy/apiserver-audit-policy.yaml"
2021-02-01 23:15:49 +08:00
By default, the `audit_policy_file` contains [default rules ](https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/control-plane/templates/apiserver-audit-policy.yaml.j2 ) that can be overridden with the `audit_policy_custom_rules` variable.
2021-04-06 04:51:19 +08:00
* *kubernetes_audit_webhook* - When set to `true` , enables the webhook audit backend.
The webhook parameters can be tuned via the following variables (which default values are shown below):
* `audit_webhook_config_file` : "{{ kube_config_dir }}/audit-policy/apiserver-audit-webhook-config.yaml"
* `audit_webhook_server_url` : `"https://audit.app"`
* `audit_webhook_server_extra_args` : {}
* `audit_webhook_mode` : batch
* `audit_webhook_batch_max_size` : 100
* `audit_webhook_batch_max_wait` : 1s
2023-10-31 00:23:19 +08:00
* *kubectl_alias* - Bash alias of kubectl to interact with Kubernetes cluster much easier.
2016-12-23 00:57:39 +08:00
2019-12-04 23:22:57 +08:00
### Custom flags for Kube Components
2020-02-15 08:05:28 +08:00
For all kube components, custom flags can be passed in. This allows for edge cases where users need changes to the default deployment that may not be applicable to all deployments.
Extra flags for the kubelet can be specified using these variables,
2021-07-01 15:55:55 +08:00
in the form of dicts of key-value pairs of configuration parameters that will be inserted into the kubelet YAML config file. The `kubelet_node_config_extra_args` apply kubelet settings only to nodes and not control planes. Example:
2019-12-04 23:22:57 +08:00
```yml
2020-02-15 08:05:28 +08:00
kubelet_config_extra_args:
2020-06-02 20:42:23 +08:00
evictionHard:
memory.available: "100Mi"
evictionSoftGracePeriod:
2020-02-15 08:05:28 +08:00
memory.available: "30s"
2020-06-02 20:42:23 +08:00
evictionSoft:
memory.available: "300Mi"
2017-04-15 05:33:04 +08:00
```
2019-12-04 23:22:57 +08:00
2017-04-15 05:33:04 +08:00
The possible vars are:
2019-12-04 23:22:57 +08:00
2020-02-15 08:05:28 +08:00
* *kubelet_config_extra_args*
* *kubelet_node_config_extra_args*
2020-05-07 02:17:25 +08:00
Previously, the same parameters could be passed as flags to kubelet binary with the following vars:
2020-02-15 08:05:28 +08:00
2017-04-15 05:33:04 +08:00
* *kubelet_custom_flags*
2018-09-19 18:55:30 +08:00
* *kubelet_node_custom_flags*
2017-04-15 05:33:04 +08:00
2021-07-01 15:55:55 +08:00
The `kubelet_node_custom_flags` apply kubelet settings only to nodes and not control planes. Example:
2020-02-15 08:05:28 +08:00
```yml
kubelet_custom_flags:
- "--eviction-hard=memory.available< 100Mi "
- "--eviction-soft-grace-period=memory.available=30s"
- "--eviction-soft=memory.available< 300Mi "
```
This alternative is deprecated and will remain until the flags are completely removed from kubelet
2019-12-04 23:22:57 +08:00
Extra flags for the API server, controller, and scheduler components can be specified using these variables,
2019-08-23 16:21:18 +08:00
in the form of dicts of key-value pairs of configuration parameters that will be inserted into the kubeadm YAML config file:
2019-12-04 23:22:57 +08:00
2019-08-23 16:21:18 +08:00
* *kube_kubeadm_apiserver_extra_args*
* *kube_kubeadm_controller_extra_args*
* *kube_kubeadm_scheduler_extra_args*
2019-12-13 01:24:32 +08:00
## App variables
2020-12-02 16:20:50 +08:00
* *helm_version* - Only supports v3.x. Existing v2 installs (with Tiller) will not be modified and need to be removed manually.