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.

155 lines
6.1 KiB

6 years ago
  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. ### ETCD: disable peer client cert authentication.
  14. # This affects ETCD_PEER_CLIENT_CERT_AUTH variable
  15. #etcd_peer_client_auth: true
  16. ## External LB example config
  17. ## apiserver_loadbalancer_domain_name: "elb.some.domain"
  18. #loadbalancer_apiserver:
  19. # address: 1.2.3.4
  20. # port: 1234
  21. ## Internal loadbalancers for apiservers
  22. #loadbalancer_apiserver_localhost: true
  23. ## Local loadbalancer should use this port instead, if defined.
  24. ## Defaults to kube_apiserver_port (6443)
  25. #nginx_kube_apiserver_port: 8443
  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. ## Internal network total size. This is the prefix of the
  33. ## entire network. Must be unused in your environment.
  34. #kube_network_prefix: 18
  35. ## With calico it is possible to distributed routes with border routers of the datacenter.
  36. ## Warning : enabling router peering will disable calico's default behavior ('node mesh').
  37. ## The subnets of each nodes will be distributed by the datacenter router
  38. #peer_with_router: false
  39. ## Upstream dns servers used by dnsmasq
  40. #upstream_dns_servers:
  41. # - 8.8.8.8
  42. # - 8.8.4.4
  43. ## There are some changes specific to the cloud providers
  44. ## for instance we need to encapsulate packets with some network plugins
  45. ## If set the possible values are either 'gce', 'aws', 'azure', 'openstack', 'vsphere', 'oci', or 'external'
  46. ## When openstack is used make sure to source in the openstack credentials
  47. ## like you would do when using nova-client before starting the playbook.
  48. #cloud_provider:
  49. ## When azure is used, you need to also set the following variables.
  50. ## see docs/azure.md for details on how to get these values
  51. #azure_tenant_id:
  52. #azure_subscription_id:
  53. #azure_aad_client_id:
  54. #azure_aad_client_secret:
  55. #azure_resource_group:
  56. #azure_location:
  57. #azure_subnet_name:
  58. #azure_security_group_name:
  59. #azure_vnet_name:
  60. #azure_vnet_resource_group:
  61. #azure_route_table_name:
  62. ## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
  63. #openstack_blockstorage_version: "v1/v2/auto (default)"
  64. ## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
  65. #openstack_lbaas_enabled: True
  66. #openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
  67. ## To enable automatic floating ip provisioning, specify a subnet.
  68. #openstack_lbaas_floating_network_id: "Neutron network ID (not subnet ID) to get floating IP from, disabled by default"
  69. ## Override default LBaaS behavior
  70. #openstack_lbaas_use_octavia: False
  71. #openstack_lbaas_method: "ROUND_ROBIN"
  72. #openstack_lbaas_provider: "haproxy"
  73. #openstack_lbaas_create_monitor: "yes"
  74. #openstack_lbaas_monitor_delay: "1m"
  75. #openstack_lbaas_monitor_timeout: "30s"
  76. #openstack_lbaas_monitor_max_retries: "3"
  77. ## When Oracle Cloud Infrastructure is used, set these variables
  78. #oci_private_key:
  79. #oci_region_id:
  80. #oci_tenancy_id:
  81. #oci_user_id:
  82. #oci_user_fingerprint:
  83. #oci_compartment_id:
  84. #oci_vnc_id:
  85. #oci_subnet1_id:
  86. #oci_subnet2_id:
  87. ## Overide these default behaviors if you wish
  88. #oci_security_list_management: All
  89. # If oci_use_instance_principals is true, you do not need to set the region, tenancy, user, key, passphrase, or fingerprint
  90. #oci_use_instance_principals: false
  91. #oci_cloud_controller_version: 0.5.0
  92. ## Uncomment to enable experimental kubeadm deployment mode
  93. #kubeadm_enabled: false
  94. ## Set these proxy values in order to update package manager and docker daemon to use proxies
  95. #http_proxy: ""
  96. #https_proxy: ""
  97. ## Refer to roles/kubespray-defaults/defaults/main.yml before modifying no_proxy
  98. #no_proxy: ""
  99. ## Uncomment this if you want to force overlay/overlay2 as docker storage driver
  100. ## Please note that overlay2 is only supported on newer kernels
  101. #docker_storage_options: -s overlay2
  102. # Uncomment this if you have more than 3 nameservers, then we'll only use the first 3.
  103. #docker_dns_servers_strict: false
  104. ## Certificate Management
  105. ## This setting determines whether certs are generated via scripts or whether a
  106. ## cluster of Hashicorp's Vault is started to issue certificates (using etcd
  107. ## as a backend). Options are "script" or "vault"
  108. #cert_management: script
  109. # Set to true to allow pre-checks to fail and continue deployment
  110. #ignore_assert_errors: false
  111. ## Etcd auto compaction retention for mvcc key value store in hour
  112. #etcd_compaction_retention: 0
  113. ## Set level of detail for etcd exported metrics, specify 'extensive' to include histogram metrics.
  114. #etcd_metrics: basic
  115. ## Etcd is restricted by default to 512M on systems under 4GB RAM, 512MB is not enough for much more than testing.
  116. ## Set this if your etcd nodes have less than 4GB but you want more RAM for etcd. Set to 0 for unrestricted RAM.
  117. #etcd_memory_limit: "512M"
  118. ## Etcd has a default of 2G for its space quota. If you put a value in etcd_memory_limit which is less than
  119. ## etcd_quota_backend_bytes, you may encounter out of memory terminations of the etcd cluster. Please check
  120. ## etcd documentation for more information.
  121. #etcd_quota_backend_bytes: "2G"
  122. # The read-only port for the Kubelet to serve on with no authentication/authorization. Uncomment to enable.
  123. #kube_read_only_port: 10255
  124. # Does coreos need auto upgrade, default is true
  125. #coreos_auto_upgrade: true
  126. # Set true to download and cache container
  127. #download_container: true