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.4 KiB

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