- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for oomScoreAdj (0.38 sec)
-
pkg/util/oom/oom_fake.go
ApplyOOMScoreAdj: fakeApplyOOMScoreAdj, ApplyOOMScoreAdjContainer: fakeApplyOOMScoreAdjContainer, } } func fakeApplyOOMScoreAdj(pid int, oomScoreAdj int) error { return nil } func fakeApplyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 30 00:47:36 UTC 2016 - 1K bytes - Viewed (0) -
pkg/kubelet/qos/policy_test.go
highOOMScoreAdj: -997, }, } for _, test := range oomTests { oomScoreAdj := GetContainerOOMScoreAdjust(test.pod, &test.pod.Spec.Containers[0], test.memoryCapacity) if oomScoreAdj < test.lowOOMScoreAdj || oomScoreAdj > test.highOOMScoreAdj { t.Errorf("oom_score_adj should be between %d and %d, but was %d", test.lowOOMScoreAdj, test.highOOMScoreAdj, oomScoreAdj) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 03 21:34:27 UTC 2021 - 5.6K bytes - Viewed (0) -
pkg/util/oom/oom_unsupported.go
ApplyOOMScoreAdjContainer: unsupportedApplyOOMScoreAdjContainer, } } func unsupportedApplyOOMScoreAdj(pid int, oomScoreAdj int) error { return unsupportedErr } func unsupportedApplyOOMScoreAdjContainer(cgroupName string, oomScoreAdj, maxTries int) error { return unsupportedErr
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.1K bytes - Viewed (0) -
pkg/util/oom/oom_linux.go
func applyOOMScoreAdj(pid int, oomScoreAdj int) error { if pid < 0 { return fmt.Errorf("invalid PID %d specified for oom_score_adj", pid) } var pidStr string if pid == 0 { pidStr = "self" } else { pidStr = strconv.Itoa(pid) } maxTries := 2 oomScoreAdjPath := path.Join("/proc", pidStr, "oom_score_adj") value := strconv.Itoa(oomScoreAdj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 07:13:28 UTC 2022 - 4K bytes - Viewed (0) -
pkg/util/oom/oom.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 30 00:47:36 UTC 2016 - 1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
[]v1.ContainerStatus{}, &runtimeapi.LinuxContainerResources{CpuShares: 256, MemoryLimitInBytes: 786432000, OomScoreAdj: 970}, }, { "best-effort qos - no container status", true, nil, nil, []v1.ContainerStatus{}, &runtimeapi.LinuxContainerResources{CpuShares: 2, OomScoreAdj: 1000}, }, { "requests & limits, cpu & memory, guaranteed qos - empty resources container status", true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/after/v1alpha1.yaml
infoBufferSize: "0" verbosity: 0 metricsBindAddress: 127.0.0.1:10249 mode: "" nftables: masqueradeAll: false masqueradeBit: 14 minSyncPeriod: 1s syncPeriod: 30s nodePortAddresses: null oomScoreAdj: -999 portRange: "" showHiddenMetricsForVersion: "" winkernel: enableDSR: false forwardHealthCheckVip: false networkName: "" rootHnsEndpointName: ""
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 12:50:03 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation.go
allErrs = append(allErrs, validateClientConnectionConfiguration(config.ClientConnection, newPath.Child("ClientConnection"))...) if config.OOMScoreAdj != nil && (*config.OOMScoreAdj < -1000 || *config.OOMScoreAdj > 1000) { allErrs = append(allErrs, field.Invalid(newPath.Child("OOMScoreAdj"), *config.OOMScoreAdj, "must be within the range [-1000, 1000]")) } if config.ConfigSyncPeriod.Duration <= 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/proxy/apis/config/zz_generated.deepcopy.go
out.DetectLocal = in.DetectLocal if in.NodePortAddresses != nil { in, out := &in.NodePortAddresses, &out.NodePortAddresses *out = make([]string, len(*in)) copy(*out, *in) } if in.OOMScoreAdj != nil { in, out := &in.OOMScoreAdj, &out.OOMScoreAdj *out = new(int32) **out = **in } in.Conntrack.DeepCopyInto(&out.Conntrack) out.ConfigSyncPeriod = in.ConfigSyncPeriod return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 13 15:12:28 UTC 2024 - 6.8K bytes - Viewed (0) -
pkg/proxy/apis/config/v1alpha1/defaults_test.go
MasqueradeBit: ptr.To[int32](14), MasqueradeAll: false, SyncPeriod: metav1.Duration{Duration: 30 * time.Second}, MinSyncPeriod: metav1.Duration{Duration: 1 * time.Second}, }, OOMScoreAdj: &oomScore, Conntrack: kubeproxyconfigv1alpha1.KubeProxyConntrackConfiguration{ MaxPerCore: &ctMaxPerCore, Min: &ctMin,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:33:53 UTC 2023 - 5.1K bytes - Viewed (0)