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.

75 lines
2.2 KiB

  1. ---
  2. # Valid options: docker (default), rkt, or host
  3. kubelet_deployment_type: host
  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. # resolv.conf to base dns config
  7. kube_resolv_conf: "/etc/resolv.conf"
  8. kube_proxy_mode: iptables
  9. # If using the pure iptables proxy, SNAT everything. Note that it breaks any
  10. # policy engine.
  11. kube_proxy_masquerade_all: false
  12. # These options reflect limitations of running kubelet in a container.
  13. # Modify at your own risk
  14. kubelet_enable_cri: true
  15. kubelet_cgroups_per_qos: true
  16. # Set to empty to avoid cgroup creation
  17. kubelet_enforce_node_allocatable: "\"\""
  18. # Set false to enable sharing a pid namespace between containers in a pod.
  19. # Note that PID namespace sharing requires docker >= 1.13.1.
  20. kubelet_disable_shared_pid: true
  21. ### fail with swap on (default true)
  22. kubelet_fail_swap_on: true
  23. # Reserve this space for system resources
  24. kubelet_memory_limit: 256M
  25. kubelet_cpu_limit: 100m
  26. # Reservation for master hosts
  27. kubelet_master_memory_limit: 512M
  28. kubelet_master_cpu_limit: 200m
  29. kubelet_status_update_frequency: 10s
  30. # Limits for kube components and nginx load balancer app
  31. kube_proxy_memory_limit: 2000M
  32. kube_proxy_cpu_limit: 500m
  33. kube_proxy_memory_requests: 64M
  34. kube_proxy_cpu_requests: 150m
  35. nginx_memory_limit: 512M
  36. nginx_cpu_limit: 300m
  37. nginx_memory_requests: 32M
  38. nginx_cpu_requests: 25m
  39. # kube_api_runtime_config:
  40. # - extensions/v1beta1/daemonsets=true
  41. # - extensions/v1beta1/deployments=true
  42. nginx_image_repo: nginx
  43. nginx_image_tag: 1.11.4-alpine
  44. etcd_config_dir: /etc/ssl/etcd
  45. # A port range to reserve for services with NodePort visibility.
  46. # Inclusive at both ends of the range.
  47. kube_apiserver_node_port_range: "30000-32767"
  48. kubelet_load_modules: false
  49. ## Support custom flags to be passed to kubelet
  50. kubelet_custom_flags: []
  51. # This setting is used for rkt based kubelet for deploying hyperkube
  52. # from a docker based registry ( controls --insecure and docker:// )
  53. ## Empty vaule for quay.io containers
  54. ## docker for docker registry containers
  55. kube_hyperkube_image_repo: ""
  56. # If non-empty, will use this string as identification instead of the actual hostname
  57. kube_override_hostname: "{{ ansible_hostname }}"