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.

60 lines
2.1 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
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. kube_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. kube_pods_subnet: 10.233.64.0/18
  20. # internal network total size (optional). This is the prefix of the
  21. # entire network. Must be unused in your environment.
  22. # kube_network_prefix: 18
  23. # internal network node size allocation (optional). This is the size allocated
  24. # to each node on your network. With these defaults you should have
  25. # room for 4096 nodes with 254 pods per node.
  26. kube_network_node_prefix: 24
  27. # With calico it is possible to distributed routes with border routers of the datacenter.
  28. peer_with_router: false
  29. # Warning : enabling router peering will disable calico's default behavior ('node mesh').
  30. # The subnets of each nodes will be distributed by the datacenter router
  31. # The port the API Server will be listening on.
  32. kube_master_port: 443 # (https)
  33. kube_master_insecure_port: 8080 # (http)
  34. # Internal DNS configuration.
  35. # Kubernetes can create and mainatain its own DNS server to resolve service names
  36. # into appropriate IP addresses. It's highly advisable to run such DNS server,
  37. # as it greatly simplifies configuration of your applications - you can use
  38. # service names instead of magic environment variables.
  39. # You still must manually configure all your containers to use this DNS server,
  40. # Kubernetes won't do this for you (yet).
  41. # Upstream dns servers used by dnsmasq
  42. upstream_dns_servers:
  43. - 8.8.8.8
  44. - 4.4.8.8
  45. # Use dns server : https://github.com/ansibl8s/k8s-skydns/blob/master/skydns-README.md
  46. dns_setup: true
  47. dns_domain: "{{ cluster_name }}"
  48. # Ip address of the kubernetes dns service
  49. dns_server: 10.233.0.10