- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetControllerManagerProbeAddress (0.27 sec)
-
cmd/kubeadm/app/util/staticpod/utils.go
if endpoint != nil && endpoint.AdvertiseAddress != "" { return getProbeAddress(endpoint.AdvertiseAddress) } return "127.0.0.1" } // GetControllerManagerProbeAddress returns the kubernetes controller manager probe address func GetControllerManagerProbeAddress(cfg *kubeadmapi.ClusterConfiguration) string { if addr, idx := kubeadmapi.GetArgValue(cfg.ControllerManager.ExtraArgs, kubeControllerManagerBindAddressArg, -1); idx > -1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests.go
LivenessProbe: staticpodutil.LivenessProbe(staticpodutil.GetControllerManagerProbeAddress(cfg), "/healthz", kubeadmconstants.KubeControllerManagerPort, v1.URISchemeHTTPS), StartupProbe: staticpodutil.StartupProbe(staticpodutil.GetControllerManagerProbeAddress(cfg), "/healthz", kubeadmconstants.KubeControllerManagerPort, v1.URISchemeHTTPS, componentHealthCheckTimeout),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 17.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_test.go
}, }, expected: "", }, } for _, test := range tests { t.Run(test.desc, func(t *testing.T) { actual := GetControllerManagerProbeAddress(test.cfg) if actual != test.expected { t.Errorf("Unexpected result from GetControllerManagerProbeAddress:\n\texpected: %s\n\tactual: %s", test.expected, actual) } }) } } func TestGetSchedulerProbeAddress(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 15:44:44 UTC 2023 - 22.6K bytes - Viewed (0)