2019-04-01 09:38:33 +00:00
|
|
|
---
|
2018-08-31 14:05:45 +00:00
|
|
|
## Directory where etcd data stored
|
|
|
|
etcd_data_dir: /var/lib/etcd
|
|
|
|
|
2019-06-20 18:12:51 +00:00
|
|
|
## Experimental kubeadm etcd deployment mode. Available only for new deployment
|
|
|
|
etcd_kubeadm_enabled: false
|
|
|
|
|
2018-08-31 14:05:45 +00:00
|
|
|
## Directory where the binaries will be installed
|
|
|
|
bin_dir: /usr/local/bin
|
|
|
|
|
|
|
|
## The access_ip variable is used to define how other nodes should access
|
|
|
|
## the node. This is used in flannel to allow other flannel nodes to see
|
|
|
|
## this node for example. The access_ip is really useful AWS and Google
|
|
|
|
## environments where the nodes are accessed remotely by the "public" ip,
|
|
|
|
## but don't know about that address themselves.
|
2019-04-01 09:38:33 +00:00
|
|
|
# access_ip: 1.1.1.1
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
## External LB example config
|
|
|
|
## apiserver_loadbalancer_domain_name: "elb.some.domain"
|
2019-04-01 09:38:33 +00:00
|
|
|
# loadbalancer_apiserver:
|
|
|
|
# address: 1.2.3.4
|
|
|
|
# port: 1234
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
## Internal loadbalancers for apiservers
|
2019-04-18 11:20:10 +00:00
|
|
|
# loadbalancer_apiserver_localhost: true
|
|
|
|
# valid options are "nginx" or "haproxy"
|
2020-08-05 08:52:48 +00:00
|
|
|
# loadbalancer_apiserver_type: nginx # valid values "nginx" or "haproxy"
|
2018-08-31 14:05:45 +00:00
|
|
|
|
2019-01-11 04:40:25 +00:00
|
|
|
## Local loadbalancer should use this port
|
|
|
|
## And must be set port 6443
|
2019-04-10 12:56:18 +00:00
|
|
|
loadbalancer_apiserver_port: 6443
|
|
|
|
|
|
|
|
## If loadbalancer_apiserver_healthcheck_port variable defined, enables proxy liveness check for nginx.
|
|
|
|
loadbalancer_apiserver_healthcheck_port: 8081
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
### OTHER OPTIONAL VARIABLES
|
|
|
|
|
2019-04-01 19:32:34 +00:00
|
|
|
## Upstream dns servers
|
2019-04-01 09:38:33 +00:00
|
|
|
# upstream_dns_servers:
|
|
|
|
# - 8.8.8.8
|
|
|
|
# - 8.8.4.4
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
## There are some changes specific to the cloud providers
|
|
|
|
## for instance we need to encapsulate packets with some network plugins
|
|
|
|
## If set the possible values are either 'gce', 'aws', 'azure', 'openstack', 'vsphere', 'oci', or 'external'
|
|
|
|
## When openstack is used make sure to source in the openstack credentials
|
2019-02-26 04:13:16 +00:00
|
|
|
## like you would do when using openstack-client before starting the playbook.
|
2019-04-01 09:38:33 +00:00
|
|
|
# cloud_provider:
|
2018-08-31 14:05:45 +00:00
|
|
|
|
2020-02-18 12:47:28 +00:00
|
|
|
## When cloud_provider is set to 'external', you can set the cloud controller to deploy
|
2020-04-20 15:47:39 +00:00
|
|
|
## Supported cloud controllers are: 'openstack' and 'vsphere'
|
|
|
|
## When openstack or vsphere are used make sure to source in the required fields
|
2020-02-18 12:47:28 +00:00
|
|
|
# external_cloud_provider:
|
|
|
|
|
2018-08-31 14:05:45 +00:00
|
|
|
## Set these proxy values in order to update package manager and docker daemon to use proxies
|
2019-04-01 09:38:33 +00:00
|
|
|
# http_proxy: ""
|
|
|
|
# https_proxy: ""
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
## Refer to roles/kubespray-defaults/defaults/main.yml before modifying no_proxy
|
2019-04-01 09:38:33 +00:00
|
|
|
# no_proxy: ""
|
2018-08-31 14:05:45 +00:00
|
|
|
|
2018-09-21 09:51:17 +00:00
|
|
|
## Some problems may occur when downloading files over https proxy due to ansible bug
|
|
|
|
## https://github.com/ansible/ansible/issues/32750. Set this variable to False to disable
|
|
|
|
## SSL validation of get_url module. Note that kubespray will still be performing checksum validation.
|
2019-04-01 09:38:33 +00:00
|
|
|
# download_validate_certs: False
|
2018-09-21 09:51:17 +00:00
|
|
|
|
2018-08-24 07:28:29 +00:00
|
|
|
## If you need exclude all cluster nodes from proxy and other resources, add other resources here.
|
2019-04-01 09:38:33 +00:00
|
|
|
# additional_no_proxy: ""
|
2018-08-24 07:28:29 +00:00
|
|
|
|
2020-10-09 08:15:07 +00:00
|
|
|
## Since workers are included in the no_proxy variable by default, docker engine will be restarted on all nodes (all
|
|
|
|
## pods will restart) when adding or removing workers. To override this behaviour by only including master nodes in the
|
|
|
|
## no_proxy variable, set below to true:
|
|
|
|
no_proxy_exclude_workers: false
|
|
|
|
|
2018-08-31 14:05:45 +00:00
|
|
|
## Certificate Management
|
2018-11-10 16:51:24 +00:00
|
|
|
## This setting determines whether certs are generated via scripts.
|
|
|
|
## Chose 'none' if you provide your own certificates.
|
|
|
|
## Option is "script", "none"
|
|
|
|
## note: vault is removed
|
2019-04-01 09:38:33 +00:00
|
|
|
# cert_management: script
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
## Set to true to allow pre-checks to fail and continue deployment
|
2019-04-01 09:38:33 +00:00
|
|
|
# ignore_assert_errors: false
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
## The read-only port for the Kubelet to serve on with no authentication/authorization. Uncomment to enable.
|
2019-04-01 09:38:33 +00:00
|
|
|
# kube_read_only_port: 10255
|
2018-08-31 14:05:45 +00:00
|
|
|
|
|
|
|
## Set true to download and cache container
|
2019-04-01 09:38:33 +00:00
|
|
|
# download_container: true
|
2018-10-24 05:22:09 +00:00
|
|
|
|
2018-11-26 15:26:40 +00:00
|
|
|
## Deploy container engine
|
|
|
|
# Set false if you want to deploy container engine manually.
|
2019-04-01 09:38:33 +00:00
|
|
|
# deploy_container_engine: true
|