mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
kube-apiserver: mark unused master-service-namespace flag as deprecated
This commit is contained in:
parent
b4b67c9ca5
commit
3cd3ab5f94
@ -208,6 +208,7 @@ func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
|
|||||||
deprecatedMasterServiceNamespace := metav1.NamespaceDefault
|
deprecatedMasterServiceNamespace := metav1.NamespaceDefault
|
||||||
fs.StringVar(&deprecatedMasterServiceNamespace, "master-service-namespace", deprecatedMasterServiceNamespace, ""+
|
fs.StringVar(&deprecatedMasterServiceNamespace, "master-service-namespace", deprecatedMasterServiceNamespace, ""+
|
||||||
"DEPRECATED: the namespace from which the Kubernetes master services should be injected into pods.")
|
"DEPRECATED: the namespace from which the Kubernetes master services should be injected into pods.")
|
||||||
|
fs.MarkDeprecated("master-service-namespace", "This flag will be removed in v1.27")
|
||||||
|
|
||||||
fs.IntVar(&s.MaxRequestsInFlight, "max-requests-inflight", s.MaxRequestsInFlight, ""+
|
fs.IntVar(&s.MaxRequestsInFlight, "max-requests-inflight", s.MaxRequestsInFlight, ""+
|
||||||
"This and --max-mutating-requests-inflight are summed to determine the server's total concurrency limit "+
|
"This and --max-mutating-requests-inflight are summed to determine the server's total concurrency limit "+
|
||||||
|
Loading…
Reference in New Issue
Block a user