- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ComponentResources (0.26 sec)
-
cmd/kubeadm/app/phases/controlplane/manifests.go
StartupProbe: staticpodutil.StartupProbe(staticpodutil.GetAPIServerProbeAddress(endpoint), "/livez", endpoint.BindPort, v1.URISchemeHTTPS, componentHealthCheckTimeout), Resources: staticpodutil.ComponentResources("250m"), Env: kubeadmutil.MergeKubeadmEnvVars(proxyEnvs, cfg.APIServer.ExtraEnvs), }, mounts.GetVolumes(kubeadmconstants.KubeAPIServer),
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.go
SeccompProfile: &v1.SeccompProfile{ Type: v1.SeccompProfileTypeRuntimeDefault, }, }, }, } } // ComponentResources returns the v1.ResourceRequirements object needed for allocating a specified amount of the CPU func ComponentResources(cpu string) v1.ResourceRequirements { return v1.ResourceRequirements{ Requests: v1.ResourceList{ v1.ResourceCPU: resource.MustParse(cpu), }, } }
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/util/staticpod/utils_test.go
kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" testutil "k8s.io/kubernetes/cmd/kubeadm/test" ) func TestComponentResources(t *testing.T) { a := ComponentResources("250m") if a.Requests == nil { t.Errorf( "failed componentResources, return value was nil", ) } } func TestGetAPIServerProbeAddress(t *testing.T) { tests := []struct { desc string endpoint *kubeadmapi.APIEndpoint
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 15:44:44 UTC 2023 - 22.6K bytes - Viewed (0)