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.

115 lines
4.1 KiB

  1. # # Valid bootstrap options (required): ubuntu, coreos, centos, none
  2. # bootstrap_os: none
  3. # # Directory where the binaries will be installed
  4. # bin_dir: /usr/local/bin
  5. # # Kubernetes configuration dirs and system namespace.
  6. # # Those are where all the additional config stuff goes
  7. # # the kubernetes normally puts in /srv/kubernets.
  8. # # This puts them in a sane location and namespace.
  9. # # Editting those values will almost surely break something.
  10. # kube_config_dir: /etc/kubernetes
  11. # kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
  12. # kube_manifest_dir: "{{ kube_config_dir }}/manifests"
  13. # system_namespace: kube-system
  14. # # Logging directory (sysvinit systems)
  15. # kube_log_dir: "/var/log/kubernetes"
  16. # # This is where all the cert scripts and certs will be located
  17. # kube_cert_dir: "{{ kube_config_dir }}/ssl"
  18. # # This is where all of the bearer tokens will be stored
  19. # kube_token_dir: "{{ kube_config_dir }}/tokens"
  20. # # This is where to save basic auth file
  21. # kube_users_dir: "{{ kube_config_dir }}/users"
  22. # kube_api_anonymous_auth: false
  23. # ## Change this to use another Kubernetes version, e.g. a current beta release
  24. # kube_version: v1.5.3
  25. # # Where the binaries will be downloaded.
  26. # # Note: ensure that you've enough disk space (about 1G)
  27. # local_release_dir: "/tmp/releases"
  28. # # Random shifts for retrying failed ops like pushing/downloading
  29. # retry_stagger: 5
  30. # # This is the group that the cert creation scripts chgrp the
  31. # # cert files to. Not really changable...
  32. # kube_cert_group: kube-cert
  33. # # Cluster Loglevel configuration
  34. # kube_log_level: 2
  35. # # Users to create for basic auth in Kubernetes API via HTTP
  36. # kube_api_pwd: "changeme"
  37. # kube_users:
  38. # kube:
  39. # pass: "{{kube_api_pwd}}"
  40. # role: admin
  41. # root:
  42. # pass: "{{kube_api_pwd}}"
  43. # role: admin
  44. # # Choose network plugin (calico, weave or flannel)
  45. # # Can also be set to 'cloud', which lets the cloud provider setup appropriate routing
  46. # kube_network_plugin: calico
  47. # # Kubernetes internal network for services, unused block of space.
  48. # kube_service_addresses: 10.233.0.0/18
  49. # # internal network. When used, it will assign IP
  50. # # addresses from this range to individual pods.
  51. # # This network must be unused in your network infrastructure!
  52. # kube_pods_subnet: 10.233.64.0/18
  53. # # internal network node size allocation (optional). This is the size allocated
  54. # # to each node on your network. With these defaults you should have
  55. # # room for 4096 nodes with 254 pods per node.
  56. # kube_network_node_prefix: 24
  57. # # The port the API Server will be listening on.
  58. # kube_apiserver_ip: "{{ kube_service_addresses|ipaddr('net')|ipaddr(1)|ipaddr('address') }}"
  59. # kube_apiserver_port: 443 # (https)
  60. # kube_apiserver_insecure_port: 8080 # (http)
  61. # # DNS configuration.
  62. # # Kubernetes cluster name, also will be used as DNS domain
  63. # cluster_name: cluster.local
  64. # # Subdomains of DNS domain to be resolved via /etc/resolv.conf for hostnet pods
  65. # ndots: 2
  66. # # Can be dnsmasq_kubedns, kubedns or none
  67. # dns_mode: dnsmasq_kubedns
  68. # # Can be docker_dns, host_resolvconf or none
  69. # resolvconf_mode: docker_dns
  70. # # Deploy netchecker app to verify DNS resolve as an HTTP service
  71. # deploy_netchecker: false
  72. # # Ip address of the kubernetes skydns service
  73. # skydns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(3)|ipaddr('address') }}"
  74. # dns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(2)|ipaddr('address') }}"
  75. # dns_domain: "{{ cluster_name }}"
  76. # # Path used to store Docker data
  77. # docker_daemon_graph: "/var/lib/docker"
  78. # ## A string of extra options to pass to the docker daemon.
  79. # ## This string should be exactly as you wish it to appear.
  80. # ## An obvious use case is allowing insecure-registry access
  81. # ## to self hosted registries like so:
  82. # docker_options: "--insecure-registry={{ kube_service_addresses }} --graph={{ docker_daemon_graph }} --iptables=false"
  83. # docker_bin_dir: "/usr/bin"
  84. # # Settings for containerized control plane (etcd/kubelet/secrets)
  85. # etcd_deployment_type: docker
  86. # kubelet_deployment_type: docker
  87. # cert_management: script
  88. # vault_deployment_type: docker
  89. # # K8s image pull policy (imagePullPolicy)
  90. # k8s_image_pull_policy: IfNotPresent
  91. # # Monitoring apps for k8s
  92. # efk_enabled: false