mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Merge pull request #114446 from lengrongfu/feat/clean_up
clean up master-service-namespace
This commit is contained in:
commit
20c17da142
@ -22,7 +22,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
||||||
"k8s.io/apimachinery/pkg/runtime/serializer"
|
"k8s.io/apimachinery/pkg/runtime/serializer"
|
||||||
"k8s.io/apimachinery/pkg/util/errors"
|
"k8s.io/apimachinery/pkg/util/errors"
|
||||||
"k8s.io/apiserver/pkg/server"
|
"k8s.io/apiserver/pkg/server"
|
||||||
@ -205,11 +204,6 @@ func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
|
|||||||
fs.StringVar(&s.ExternalHost, "external-hostname", s.ExternalHost,
|
fs.StringVar(&s.ExternalHost, "external-hostname", s.ExternalHost,
|
||||||
"The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery).")
|
"The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery).")
|
||||||
|
|
||||||
deprecatedMasterServiceNamespace := metav1.NamespaceDefault
|
|
||||||
fs.StringVar(&deprecatedMasterServiceNamespace, "master-service-namespace", deprecatedMasterServiceNamespace, ""+
|
|
||||||
"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 "+
|
||||||
"(which must be positive) if --enable-priority-and-fairness is true. "+
|
"(which must be positive) if --enable-priority-and-fairness is true. "+
|
||||||
|
Loading…
Reference in New Issue
Block a user