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.

90 lines
2.6 KiB

  1. ---
  2. # An experimental dev/test only dynamic volumes provisioner,
  3. # for PetSets. Works for kube>=v1.3 only.
  4. kube_hostpath_dynamic_provisioner: "false"
  5. # change to 0.0.0.0 to enable insecure access from anywhere (not recommended)
  6. kube_apiserver_insecure_bind_address: 127.0.0.1
  7. # By default the external API listens on all interfaces, this can be changed to
  8. # listen on a specific address/interface.
  9. kube_apiserver_bind_address: 0.0.0.0
  10. # A port range to reserve for services with NodePort visibility.
  11. # Inclusive at both ends of the range.
  12. kube_apiserver_node_port_range: "30000-32767"
  13. # ETCD cert dir for connecting apiserver to etcd
  14. etcd_config_dir: /etc/ssl/etcd
  15. etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
  16. # ETCD backend for k8s data
  17. kube_apiserver_storage_backend: etcd3
  18. # By default, force back to etcd2. Set to true to force etcd3 (experimental!)
  19. force_etcd3: false
  20. # Limits for kube components
  21. kube_controller_memory_limit: 512M
  22. kube_controller_cpu_limit: 250m
  23. kube_controller_memory_requests: 100M
  24. kube_controller_cpu_requests: 100m
  25. kube_controller_node_monitor_grace_period: 40s
  26. kube_controller_node_monitor_period: 5s
  27. kube_controller_pod_eviction_timeout: 5m0s
  28. kube_scheduler_memory_limit: 512M
  29. kube_scheduler_cpu_limit: 250m
  30. kube_scheduler_memory_requests: 170M
  31. kube_scheduler_cpu_requests: 80m
  32. kube_apiserver_memory_limit: 2000M
  33. kube_apiserver_cpu_limit: 800m
  34. kube_apiserver_memory_requests: 256M
  35. kube_apiserver_cpu_requests: 100m
  36. # Admission control plug-ins
  37. kube_apiserver_admission_control:
  38. - Initializers
  39. - NamespaceLifecycle
  40. - LimitRanger
  41. - ServiceAccount
  42. - DefaultStorageClass
  43. - >-
  44. {%- if kube_version | version_compare('v1.9', '<') -%}
  45. GenericAdmissionWebhook
  46. {%- else -%}
  47. ValidatingAdmissionWebhook
  48. {%- endif -%}
  49. - ResourceQuota
  50. # extra runtime config
  51. kube_api_runtime_config:
  52. - admissionregistration.k8s.io/v1alpha1
  53. ## Enable/Disable Kube API Server Authentication Methods
  54. kube_basic_auth: false
  55. kube_token_auth: false
  56. kube_oidc_auth: false
  57. ## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
  58. ## To use OpenID you have to deploy additional an OpenID Provider (e.g Dex, Keycloak, ...)
  59. # kube_oidc_url: https:// ...
  60. # kube_oidc_client_id: kubernetes
  61. ## Optional settings for OIDC
  62. # kube_oidc_ca_file: {{ kube_cert_dir }}/ca.pem
  63. # kube_oidc_username_claim: sub
  64. # kube_oidc_groups_claim: groups
  65. ## Variables for custom flags
  66. apiserver_custom_flags: []
  67. controller_mgr_custom_flags: []
  68. scheduler_custom_flags: []
  69. # kubeadm settings
  70. # Value of 0 means it never expires
  71. kubeadm_token_ttl: 0
  72. ## Variable for influencing kube-scheduler behaviour
  73. volume_cross_zone_attachment: false