1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 21:52:08 +00:00

Add service-node-port-range for kube-api

This commit is contained in:
moelsayed
2018-06-06 23:23:20 +02:00
committed by Alena Prokharchyk
parent 2142661ea7
commit 716a776d42
3 changed files with 5 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ func (c *Cluster) BuildKubeAPIProcess(prefixPath string) v3.Process {
"allow-privileged": "true",
"kubelet-preferred-address-types": "InternalIP,ExternalIP,Hostname",
"service-cluster-ip-range": c.Services.KubeAPI.ServiceClusterIPRange,
"service-node-port-range": c.Services.KubeAPI.ServiceNodePortRange,
"admission-control": "ServiceAccount,NamespaceLifecycle,LimitRanger,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds",
"storage-backend": "etcd3",
"client-ca-file": pki.GetCertPath(pki.CACertName),