You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
3.6 KiB

  1. ---
  2. ## Directory where etcd data stored
  3. etcd_data_dir: /var/lib/etcd
  4. ## Directory where the binaries will be installed
  5. bin_dir: /usr/local/bin
  6. ## The access_ip variable is used to define how other nodes should access
  7. ## the node. This is used in flannel to allow other flannel nodes to see
  8. ## this node for example. The access_ip is really useful AWS and Google
  9. ## environments where the nodes are accessed remotely by the "public" ip,
  10. ## but don't know about that address themselves.
  11. # access_ip: 1.1.1.1
  12. ## External LB example config
  13. ## apiserver_loadbalancer_domain_name: "elb.some.domain"
  14. # loadbalancer_apiserver:
  15. # address: 1.2.3.4
  16. # port: 1234
  17. ## Internal loadbalancers for apiservers
  18. # loadbalancer_apiserver_localhost: true
  19. # valid options are "nginx" or "haproxy"
  20. # loadbalancer_apiserver_type: nginx # valid values "nginx" or "haproxy"
  21. ## Local loadbalancer should use this port
  22. ## And must be set port 6443
  23. loadbalancer_apiserver_port: 6443
  24. ## If loadbalancer_apiserver_healthcheck_port variable defined, enables proxy liveness check for nginx.
  25. loadbalancer_apiserver_healthcheck_port: 8081
  26. ### OTHER OPTIONAL VARIABLES
  27. ## For some things, kubelet needs to load kernel modules. For example, dynamic kernel services are needed
  28. ## for mounting persistent volumes into containers. These may not be loaded by preinstall kubernetes
  29. ## processes. For example, ceph and rbd backed volumes. Set to true to allow kubelet to load kernel
  30. ## modules.
  31. # kubelet_load_modules: false
  32. ## Upstream dns servers
  33. # upstream_dns_servers:
  34. # - 8.8.8.8
  35. # - 8.8.4.4
  36. ## There are some changes specific to the cloud providers
  37. ## for instance we need to encapsulate packets with some network plugins
  38. ## If set the possible values are either 'gce', 'aws', 'azure', 'openstack', 'vsphere', 'oci', or 'external'
  39. ## When openstack is used make sure to source in the openstack credentials
  40. ## like you would do when using openstack-client before starting the playbook.
  41. ## Note: The 'external' cloud provider is not supported.
  42. ## TODO(riverzhang): https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#running-cloud-controller-manager
  43. # cloud_provider:
  44. ## Set these proxy values in order to update package manager and docker daemon to use proxies
  45. # http_proxy: ""
  46. # https_proxy: ""
  47. ## Refer to roles/kubespray-defaults/defaults/main.yml before modifying no_proxy
  48. # no_proxy: ""
  49. ## Some problems may occur when downloading files over https proxy due to ansible bug
  50. ## https://github.com/ansible/ansible/issues/32750. Set this variable to False to disable
  51. ## SSL validation of get_url module. Note that kubespray will still be performing checksum validation.
  52. # download_validate_certs: False
  53. ## If you need exclude all cluster nodes from proxy and other resources, add other resources here.
  54. # additional_no_proxy: ""
  55. ## Certificate Management
  56. ## This setting determines whether certs are generated via scripts.
  57. ## Chose 'none' if you provide your own certificates.
  58. ## Option is "script", "none"
  59. ## note: vault is removed
  60. # cert_management: script
  61. ## Set to true to allow pre-checks to fail and continue deployment
  62. # ignore_assert_errors: false
  63. ## The read-only port for the Kubelet to serve on with no authentication/authorization. Uncomment to enable.
  64. # kube_read_only_port: 10255
  65. ## Set true to download and cache container
  66. # download_container: true
  67. ## Deploy container engine
  68. # Set false if you want to deploy container engine manually.
  69. # deploy_container_engine: true
  70. ## Set Pypi repo and cert accordingly
  71. # pyrepo_index: https://pypi.example.com/simple
  72. # pyrepo_cert: /etc/ssl/certs/ca-certificates.crt