Skip to content

Commit

Permalink
Add a warning about cluster_dns and service_cidr in examples
Browse files Browse the repository at this point in the history
As mentioned in vitobotta#351.

There is already a note about that in the README, but I thought it might
help to have it proeminently in the sample configuration as well.
  • Loading branch information
jpetazzo committed Apr 28, 2024
1 parent b9f2e47 commit ab63240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private_network_subnet: 10.0.0.0/16 # ensure this doesn't overlap with other net
disable_flannel: false # set to true if you want to install a different CNI
schedule_workloads_on_masters: false
# cluster_cidr: 10.244.0.0/16 # optional: a custom IPv4/IPv6 network CIDR to use for pod IPs
# service_cidr: 10.43.0.0/16 # optional: a custom IPv4/IPv6 network CIDR to use for service IPs
# service_cidr: 10.43.0.0/16 # optional: a custom IPv4/IPv6 network CIDR to use for service IPs. Warning, if you change this, you should also change cluster_dns!
# cluster_dns: 10.43.0.10 # optional: IPv4 Cluster IP for coredns service. Needs to be an address from the service_cidr range
# enable_public_net_ipv4: false # default is true
# enable_public_net_ipv6: false # default is true
Expand Down
2 changes: 1 addition & 1 deletion cluster_config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ api_allowed_networks:
schedule_workloads_on_masters: false
private_network_subnet: 10.0.0.0/16
# cluster_cidr: 10.244.0.0/16 # optional: a custom IPv4/IPv6 network CIDR to use for pod IPs
# service_cidr: 10.43.0.0/16 # optional: a custom IPv4/IPv6 network CIDR to use for service IPs
# service_cidr: 10.43.0.0/16 # optional: a custom IPv4/IPv6 network CIDR to use for service IPs. Warning, if you change this, you should also change cluster_dns!
# cluster_dns: 10.43.0.10 # optional: IPv4 Cluster IP for coredns service. Needs to be an address from the service_cidr range
disable_flannel: false # set to true if you want to install a different CNI
# enable_public_net_ipv4: false # default is true
Expand Down

0 comments on commit ab63240

Please sign in to comment.