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.

129 lines
5.3 KiB

  1. # Valid bootstrap options (required): ubuntu, coreos, centos, none
  2. bootstrap_os: none
  3. #Directory where etcd data stored
  4. etcd_data_dir: /var/lib/etcd
  5. # Directory where the binaries will be installed
  6. bin_dir: /usr/local/bin
  7. ## The access_ip variable is used to define how other nodes should access
  8. ## the node. This is used in flannel to allow other flannel nodes to see
  9. ## this node for example. The access_ip is really useful AWS and Google
  10. ## environments where the nodes are accessed remotely by the "public" ip,
  11. ## but don't know about that address themselves.
  12. #access_ip: 1.1.1.1
  13. ### LOADBALANCING AND ACCESS MODES
  14. ## Enable multiaccess to configure etcd clients to access all of the etcd members directly
  15. ## as the "http://hostX:port, http://hostY:port, ..." and ignore the proxy loadbalancers.
  16. ## This may be the case if clients support and loadbalance multiple etcd servers natively.
  17. #etcd_multiaccess: true
  18. ## External LB example config
  19. ## apiserver_loadbalancer_domain_name: "elb.some.domain"
  20. #loadbalancer_apiserver:
  21. # address: 1.2.3.4
  22. # port: 1234
  23. ## Internal loadbalancers for apiservers
  24. #loadbalancer_apiserver_localhost: true
  25. ## Local loadbalancer should use this port instead, if defined.
  26. ## Defaults to kube_apiserver_port (6443)
  27. #nginx_kube_apiserver_port: 8443
  28. ### OTHER OPTIONAL VARIABLES
  29. ## For some things, kubelet needs to load kernel modules. For example, dynamic kernel services are needed
  30. ## for mounting persistent volumes into containers. These may not be loaded by preinstall kubernetes
  31. ## processes. For example, ceph and rbd backed volumes. Set to true to allow kubelet to load kernel
  32. ## modules.
  33. # kubelet_load_modules: false
  34. ## Internal network total size. This is the prefix of the
  35. ## entire network. Must be unused in your environment.
  36. #kube_network_prefix: 18
  37. ## With calico it is possible to distributed routes with border routers of the datacenter.
  38. ## Warning : enabling router peering will disable calico's default behavior ('node mesh').
  39. ## The subnets of each nodes will be distributed by the datacenter router
  40. #peer_with_router: false
  41. ## Upstream dns servers used by dnsmasq
  42. #upstream_dns_servers:
  43. # - 8.8.8.8
  44. # - 8.8.4.4
  45. ## There are some changes specific to the cloud providers
  46. ## for instance we need to encapsulate packets with some network plugins
  47. ## If set the possible values are either 'gce', 'aws', 'azure', 'openstack', 'vsphere', or 'external'
  48. ## When openstack is used make sure to source in the openstack credentials
  49. ## like you would do when using nova-client before starting the playbook.
  50. #cloud_provider:
  51. ## When azure is used, you need to also set the following variables.
  52. ## see docs/azure.md for details on how to get these values
  53. #azure_tenant_id:
  54. #azure_subscription_id:
  55. #azure_aad_client_id:
  56. #azure_aad_client_secret:
  57. #azure_resource_group:
  58. #azure_location:
  59. #azure_subnet_name:
  60. #azure_security_group_name:
  61. #azure_vnet_name:
  62. #azure_route_table_name:
  63. ## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
  64. #openstack_blockstorage_version: "v1/v2/auto (default)"
  65. ## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
  66. #openstack_lbaas_enabled: True
  67. #openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
  68. ## To enable automatic floating ip provisioning, specify a subnet.
  69. #openstack_lbaas_floating_network_id: "Neutron network ID (not subnet ID) to get floating IP from, disabled by default"
  70. ## Override default LBaaS behavior
  71. #openstack_lbaas_use_octavia: False
  72. #openstack_lbaas_method: "ROUND_ROBIN"
  73. #openstack_lbaas_provider: "haproxy"
  74. #openstack_lbaas_create_monitor: "yes"
  75. #openstack_lbaas_monitor_delay: "1m"
  76. #openstack_lbaas_monitor_timeout: "30s"
  77. #openstack_lbaas_monitor_max_retries: "3"
  78. ## Uncomment to enable experimental kubeadm deployment mode
  79. #kubeadm_enabled: false
  80. #kubeadm_token_first: "{{ lookup('password', 'credentials/kubeadm_token_first length=6 chars=ascii_lowercase,digits') }}"
  81. #kubeadm_token_second: "{{ lookup('password', 'credentials/kubeadm_token_second length=16 chars=ascii_lowercase,digits') }}"
  82. #kubeadm_token: "{{ kubeadm_token_first }}.{{ kubeadm_token_second }}"
  83. #
  84. ## Set these proxy values in order to update package manager and docker daemon to use proxies
  85. #http_proxy: ""
  86. #https_proxy: ""
  87. ## Refer to roles/kubespray-defaults/defaults/main.yml before modifying no_proxy
  88. #no_proxy: ""
  89. ## Uncomment this if you want to force overlay/overlay2 as docker storage driver
  90. ## Please note that overlay2 is only supported on newer kernels
  91. #docker_storage_options: -s overlay2
  92. # Uncomment this if you have more than 3 nameservers, then we'll only use the first 3.
  93. #docker_dns_servers_strict: false
  94. ## Default packages to install within the cluster, f.e:
  95. #kpm_packages:
  96. # - name: kube-system/grafana
  97. ## Certificate Management
  98. ## This setting determines whether certs are generated via scripts or whether a
  99. ## cluster of Hashicorp's Vault is started to issue certificates (using etcd
  100. ## as a backend). Options are "script" or "vault"
  101. #cert_management: script
  102. # Set to true to allow pre-checks to fail and continue deployment
  103. #ignore_assert_errors: false
  104. ## Etcd auto compaction retention for mvcc key value store in hour
  105. #etcd_compaction_retention: 0
  106. ## Set level of detail for etcd exported metrics, specify 'extensive' to include histogram metrics.
  107. #etcd_metrics: basic