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.

141 lines
4.2 KiB

  1. ---
  2. # Set to true to allow pre-checks to fail and continue deployment
  3. ignore_assert_errors: false
  4. epel_enabled: false
  5. # Kubespray sets this to true after clusterDNS is running to apply changes to the host resolv.conf
  6. dns_late: false
  7. # Set to true if your network does not support IPv6
  8. # This may be necessary for pulling Docker images from
  9. # GCE docker repository
  10. disable_ipv6_dns: false
  11. # Remove default cluster search domains (``default.svc.{{ dns_domain }}, svc.{{ dns_domain }}``).
  12. remove_default_searchdomains: false
  13. kube_owner: kube
  14. kube_cert_group: kube-cert
  15. kube_config_dir: /etc/kubernetes
  16. kube_cert_dir: "{{ kube_config_dir }}/ssl"
  17. kube_cert_compat_dir: /etc/kubernetes/pki
  18. kubelet_flexvolumes_plugins_dir: /usr/libexec/kubernetes/kubelet-plugins/volume/exec
  19. # Flatcar Container Linux by Kinvolk cloud init config file to define /etc/resolv.conf content
  20. # for hostnet pods and infra needs
  21. resolveconf_cloud_init_conf: /etc/resolveconf_cloud_init.conf
  22. # All inventory hostnames will be written into each /etc/hosts file.
  23. populate_inventory_to_hosts_file: true
  24. # K8S Api FQDN will be written into /etc/hosts file.
  25. populate_loadbalancer_apiserver_to_hosts_file: true
  26. # etc_hosts_localhost_entries will be written into /etc/hosts file.
  27. populate_localhost_entries_to_hosts_file: true
  28. sysctl_file_path: "/etc/sysctl.d/99-sysctl.conf"
  29. etc_hosts_localhost_entries:
  30. 127.0.0.1:
  31. expected:
  32. - localhost
  33. - localhost.localdomain
  34. ::1:
  35. expected:
  36. - localhost6
  37. - localhost6.localdomain
  38. unexpected:
  39. - localhost
  40. - localhost.localdomain
  41. # Minimal memory requirement in MB for safety checks
  42. minimal_node_memory_mb: 1024
  43. minimal_master_memory_mb: 1500
  44. yum_repo_dir: /etc/yum.repos.d
  45. # number of times package install task should be retried
  46. pkg_install_retries: 4
  47. # Check if access_ip responds to ping. Set false if your firewall blocks ICMP.
  48. ping_access_ip: true
  49. ## NTP Settings
  50. # Start the ntpd or chrony service and enable it at system boot.
  51. ntp_enabled: false
  52. # The package to install which provides NTP functionality.
  53. # The default is ntp for most platforms, or chrony on RHEL/CentOS 7 and later.
  54. # The ntp_package can be one of ['ntp', 'chrony']
  55. ntp_package: >-
  56. {% if ansible_os_family == "RedHat" -%}
  57. chrony
  58. {%- else -%}
  59. ntp
  60. {%- endif -%}
  61. # Manage the NTP configuration file.
  62. ntp_manage_config: false
  63. # Specify the NTP servers
  64. # Only takes effect when ntp_manage_config is true.
  65. ntp_servers:
  66. - "0.pool.ntp.org iburst"
  67. - "1.pool.ntp.org iburst"
  68. - "2.pool.ntp.org iburst"
  69. - "3.pool.ntp.org iburst"
  70. # Restrict NTP access to these hosts.
  71. # Only takes effect when ntp_manage_config is true.
  72. ntp_restrict:
  73. - "127.0.0.1"
  74. - "::1"
  75. # Specify whether to filter interfaces
  76. ntp_filter_interface: false
  77. # Specify the interfaces
  78. # Only takes effect when ntp_filter_interface is true
  79. # ntp_interfaces:
  80. # - ignore wildcard
  81. # - listen xxx
  82. # The NTP driftfile path
  83. # Only takes effect when ntp_manage_config is true.
  84. ntp_driftfile: /var/lib/ntp/ntp.drift
  85. # Enable tinker panic is useful when running NTP in a VM environment.
  86. # Only takes effect when ntp_manage_config is true.
  87. ntp_tinker_panic: false
  88. # Force sync time immediately after the ntp installed, which is useful in a newly installed system.
  89. ntp_force_sync_immediately: false
  90. # Set the timezone for your server. eg: "Etc/UTC","Etc/GMT-8". If not set, the timezone will not change.
  91. ntp_timezone: ""
  92. # Currently known os distributions
  93. supported_os_distributions:
  94. - 'RedHat'
  95. - 'CentOS'
  96. - 'Fedora'
  97. - 'Ubuntu'
  98. - 'Debian'
  99. - 'Flatcar'
  100. - 'Flatcar Container Linux by Kinvolk'
  101. - 'Suse'
  102. - 'openSUSE Leap'
  103. - 'openSUSE Tumbleweed'
  104. - 'ClearLinux'
  105. - 'OracleLinux'
  106. - 'AlmaLinux'
  107. - 'Rocky'
  108. - 'Amazon'
  109. - 'Kylin Linux Advanced Server'
  110. - 'UnionTech'
  111. - 'UniontechOS'
  112. - 'openEuler'
  113. # Extending some distributions into the redhat os family
  114. redhat_os_family_extensions:
  115. - "UnionTech"
  116. - "UniontechOS"
  117. # Sets DNSStubListener=no, useful if you get "0.0.0.0:53: bind: address already in use"
  118. systemd_resolved_disable_stub_listener: "{{ ansible_os_family in ['Flatcar', 'Flatcar Container Linux by Kinvolk'] }}"
  119. # Used to disable File Access Policy Daemon service.
  120. # If service is enabled, the CNI plugin installation will fail
  121. disable_fapolicyd: true