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.

52 lines
1.8 KiB

9 years ago
9 years ago
  1. # Users to create for basic auth in Kubernetes API via HTTP
  2. kube_users:
  3. kube:
  4. pass: changeme
  5. role: admin
  6. root:
  7. pass: changeme
  8. role: admin
  9. # Kubernetes cluster name, also will be used as DNS domain
  10. cluster_name: cluster.local
  11. #
  12. # set this variable to calico if needed. keep it empty if flannel is used
  13. overlay_network_plugin: calico
  14. # Kubernetes internal network for services, unused block of space.
  15. kube_service_addresses: 10.233.0.0/18
  16. # internal network. When used, it will assign IP
  17. # addresses from this range to individual pods.
  18. # This network must be unused in your network infrastructure!
  19. overlay_network_subnet: 10.233.64.0/18
  20. # internal network total size (optional). This is the prefix of the
  21. # entire overlay network. So the entirety of 4.0.0.0/16 must be
  22. # unused in your environment.
  23. # overlay_network_prefix: 18
  24. # internal network node size allocation (optional). This is the size allocated
  25. # to each node on your network. With these defaults you should have
  26. # room for 4096 nodes with 254 pods per node.
  27. overlay_network_host_prefix: 24
  28. # Internal DNS configuration.
  29. # Kubernetes can create and mainatain its own DNS server to resolve service names
  30. # into appropriate IP addresses. It's highly advisable to run such DNS server,
  31. # as it greatly simplifies configuration of your applications - you can use
  32. # service names instead of magic environment variables.
  33. # You still must manually configure all your containers to use this DNS server,
  34. # Kubernetes won't do this for you (yet).
  35. # Upstream dns servers used by dnsmasq
  36. upstream_dns_servers:
  37. - 8.8.8.8
  38. - 4.4.8.8
  39. # Use dns server : https://github.com/ansibl8s/k8s-skydns/blob/master/skydns-README.md
  40. dns_setup: true
  41. dns_domain: "{{ cluster_name }}"
  42. # Ip address of the kubernetes dns service
  43. dns_server: 10.233.0.10