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.

66 lines
2.0 KiB

  1. # An experimental dev/test only dynamic volumes provisioner,
  2. # for PetSets. Works for kube>=v1.3 only.
  3. kube_hostpath_dynamic_provisioner: "false"
  4. # change to 0.0.0.0 to enable insecure access from anywhere (not recommended)
  5. kube_apiserver_insecure_bind_address: 127.0.0.1
  6. # A port range to reserve for services with NodePort visibility.
  7. # Inclusive at both ends of the range.
  8. kube_apiserver_node_port_range: "30000-32767"
  9. # ETCD cert dir for connecting apiserver to etcd
  10. etcd_config_dir: /etc/ssl/etcd
  11. etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
  12. # ETCD backend for k8s data
  13. kube_apiserver_storage_backend: etcd3
  14. # By default, force back to etcd2. Set to true to force etcd3 (experimental!)
  15. force_etcd3: false
  16. # Limits for kube components
  17. kube_controller_memory_limit: 512M
  18. kube_controller_cpu_limit: 250m
  19. kube_controller_memory_requests: 100M
  20. kube_controller_cpu_requests: 100m
  21. kube_controller_node_monitor_grace_period: 40s
  22. kube_controller_node_monitor_period: 5s
  23. kube_controller_pod_eviction_timeout: 5m0s
  24. kube_scheduler_memory_limit: 512M
  25. kube_scheduler_cpu_limit: 250m
  26. kube_scheduler_memory_requests: 170M
  27. kube_scheduler_cpu_requests: 80m
  28. kube_apiserver_memory_limit: 2000M
  29. kube_apiserver_cpu_limit: 800m
  30. kube_apiserver_memory_requests: 256M
  31. kube_apiserver_cpu_requests: 100m
  32. # Admission control plug-ins
  33. kube_apiserver_admission_control:
  34. - NamespaceLifecycle
  35. - LimitRanger
  36. - ServiceAccount
  37. - DefaultStorageClass
  38. - ResourceQuota
  39. ## Enable/Disable Kube API Server Authentication Methods
  40. kube_basic_auth: true
  41. kube_token_auth: true
  42. kube_oidc_auth: false
  43. ## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
  44. ## To use OpenID you have to deploy additional an OpenID Provider (e.g Dex, Keycloak, ...)
  45. #kube_oidc_url: https:// ...
  46. # kube_oidc_client_id: kubernetes
  47. ## Optional settings for OIDC
  48. # kube_oidc_ca_file: {{ kube_cert_dir }}/ca.pem
  49. # kube_oidc_username_claim: sub
  50. # kube_oidc_groups_claim: groups
  51. ##Variables for custom flags
  52. apiserver_custom_flags: []
  53. controller_mgr_custom_flags: []
  54. scheduler_custom_flags: []