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.

74 lines
1.8 KiB

  1. ---
  2. # Instance settings
  3. cloud_image: centos-7
  4. mode: ha
  5. # Kubespray settings
  6. kubeadm_certificate_key: 3998c58db6497dd17d909394e62d515368c06ec617710d02edea31c06d741085
  7. kube_proxy_mode: iptables
  8. kube_network_plugin: flannel
  9. download_localhost: false
  10. download_run_once: true
  11. helm_enabled: true
  12. krew_enabled: true
  13. kubernetes_audit: true
  14. etcd_events_cluster_enabled: true
  15. local_volume_provisioner_enabled: true
  16. kube_encrypt_secret_data: true
  17. ingress_nginx_enabled: true
  18. ingress_nginx_webhook_enabled: true
  19. ingress_nginx_webhook_job_ttl: 30
  20. cert_manager_enabled: true
  21. # Disable as health checks are still unstable and slow to respond.
  22. metrics_server_enabled: false
  23. metrics_server_kubelet_insecure_tls: true
  24. kube_token_auth: true
  25. enable_nodelocaldns: false
  26. kubelet_rotate_server_certificates: true
  27. kubelet_csr_approver_enabled: false
  28. kube_oidc_url: https://accounts.google.com/.well-known/openid-configuration
  29. kube_oidc_client_id: kubespray-example
  30. tls_min_version: "VersionTLS12"
  31. tls_cipher_suites:
  32. - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  33. # test etcd tls cipher suites
  34. etcd_tls_cipher_suites:
  35. - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  36. - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  37. # Containerd
  38. containerd_storage_dir: /var/data/containerd
  39. containerd_state_dir: /run/cri/containerd
  40. containerd_oom_score: -999
  41. # Kube-vip
  42. kube_vip_enabled: true
  43. kube_vip_arp_enabled: true
  44. kube_vip_controlplane_enabled: true
  45. kube_vip_address: 192.168.1.100
  46. # MetalLB
  47. metallb_enabled: true
  48. metallb_speaker_enabled: true
  49. metallb_config:
  50. address_pools:
  51. primary:
  52. ip_range:
  53. - 192.0.1.0-192.0.1.254
  54. auto_assign: true
  55. pool1:
  56. ip_range:
  57. - 192.0.2.1-192.0.2.1
  58. auto_assign: false
  59. pool2:
  60. ip_range:
  61. - 192.0.2.2-192.0.2.2
  62. auto_assign: false
  63. layer2:
  64. - primary
  65. - pool1
  66. - pool2