You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPSTREAM: <carry>: allows for switching KS to talk to Kube API over localhost
to force KS to use localhost set the following flag in kubescheduler (oc edit kubescheduler cluster)
unsupportedConfigOverrides:
arguments:
unsupported-kube-api-over-localhost::
- "true"
UPSTREAM: <carry>: allows for switching KS to talk to Kube API over localhost-squash to other
This commit is addendum to 04eabe5
to stop using cc and start relying on scheduler config options
OpenShift-Rebase-Source: aa9dde2
UPSTREAM: <carry>: allows for switching KS to talk to Kube API over localhost
@@ -196,6 +201,7 @@ func (o *Options) initFlags() {
196
201
fs.StringVar(&o.ConfigFile, "config", o.ConfigFile, "The path to the configuration file.")
197
202
fs.StringVar(&o.WriteConfigTo, "write-config-to", o.WriteConfigTo, "If set, write the configuration values to this file and exit.")
198
203
fs.StringVar(&o.Master, "master", o.Master, "The address of the Kubernetes API server (overrides any value in kubeconfig)")
204
+
fs.BoolVar(&o.OpenShiftContext.UnsupportedKubeAPIOverPreferredHost, "unsupported-kube-api-over-localhost", false, "when set makes KS prefer talking to localhost kube-apiserver (when available) instead of an LB")
0 commit comments