mirror of
https://github.com/rancher/rke.git
synced 2025-09-15 06:30:27 +00:00
Change cluster cidr defaults
This commit is contained in:
@@ -43,19 +43,19 @@ services:
|
||||
# xxxxxxxxxx
|
||||
# -----END PRIVATE KEY-----
|
||||
kube-api:
|
||||
service_cluster_ip_range: 10.233.0.0/18
|
||||
service_cluster_ip_range: 10.42.0.0/16
|
||||
pod_security_policy: false
|
||||
# add additional arguments to the kubernetes component
|
||||
# Note that this WILL OVERRIDE existing defaults
|
||||
extra_args:
|
||||
v: 4
|
||||
kube-controller:
|
||||
cluster_cidr: 10.233.64.0/18
|
||||
service_cluster_ip_range: 10.233.0.0/18
|
||||
cluster_cidr: 10.42.0.0/16
|
||||
service_cluster_ip_range: 10.43.0.0/16
|
||||
scheduler:
|
||||
kubelet:
|
||||
cluster_domain: cluster.local
|
||||
cluster_dns_server: 10.233.0.3
|
||||
cluster_dns_server: 10.43.0.10
|
||||
infra_container_image: gcr.io/google_containers/pause-amd64:3.0
|
||||
# Optionally define additional volume binds to a service
|
||||
extra_binds:
|
||||
|
@@ -10,9 +10,9 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
DefaultServiceClusterIPRange = "10.233.0.0/18"
|
||||
DefaultClusterCIDR = "10.233.64.0/18"
|
||||
DefaultClusterDNSService = "10.233.0.3"
|
||||
DefaultServiceClusterIPRange = "10.43.0.0/16"
|
||||
DefaultClusterCIDR = "10.42.0.0/16"
|
||||
DefaultClusterDNSService = "10.43.0.10"
|
||||
DefaultClusterDomain = "cluster.local"
|
||||
DefaultClusterName = "local"
|
||||
DefaultClusterSSHKeyPath = "~/.ssh/id_rsa"
|
||||
|
Reference in New Issue
Block a user