- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for oom_score_adj (0.24 sec)
-
pkg/kubelet/cm/container_manager_linux.go
klog.V(5).InfoS("Attempting to apply oom_score_adj to process", "oomScoreAdj", oomScoreAdj, "pid", pid) if err := oomAdjuster.ApplyOOMScoreAdj(pid, oomScoreAdj); err != nil { klog.V(3).InfoS("Failed to apply oom_score_adj to process", "oomScoreAdj", oomScoreAdj, "pid", pid, "err", err) errs = append(errs, fmt.Errorf("failed to apply oom score %d to PID %d: %v", oomScoreAdj, pid, err)) } return utilerrors.NewAggregate(errs) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.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/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/kubelet/apis/config/validation/validation_test.go
}, errMsg: "invalid configuration: maxPods (--max-pods) -1 must not be a negative number", }, { name: "invalid OOMScoreAdj", configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration { conf.OOMScoreAdj = 1001 return conf }, errMsg: "invalid configuration: oomScoreAdj (--oom-score-adj) 1001 must be between -1000 and 1000, inclusive", }, { name: "invalid PodsPerCore",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation.go
} if utilvalidation.IsInRange(int(kc.OOMScoreAdj), -1000, 1000) != nil { allErrors = append(allErrors, fmt.Errorf("invalid configuration: oomScoreAdj (--oom-score-adj) %v must be between -1000 and 1000, inclusive", kc.OOMScoreAdj)) } if kc.PodsPerCore < 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 17:13:59 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/proxy/apis/config/types.go
// object. If unset, NodePort connections will be accepted on all local IPs. NodePortAddresses []string // oomScoreAdj is the oom-score-adj value for kube-proxy process. Values must be within // the range [-1000, 1000] OOMScoreAdj *int32 // conntrack contains conntrack-related configuration options. Conntrack KubeProxyConntrackConfiguration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 13K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
return &runtimeapi.ContainerResources{ Linux: &runtimeapi.LinuxContainerResources{ CpuQuota: 25000, CpuPeriod: 100000, MemoryLimitInBytes: 524288000, OomScoreAdj: -998, }, } }(), }, expected: &kubecontainer.Status{ ID: *cid, Image: imageSpec.Image, State: kubecontainer.ContainerStateRunning,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers_test.go
"MaxPods", "MemoryManagerPolicy", "MemorySwap.SwapBehavior", "NodeLeaseDurationSeconds", "NodeStatusMaxImages", "NodeStatusUpdateFrequency.Duration", "NodeStatusReportFrequency.Duration", "OOMScoreAdj", "PodCIDR", "PodPidsLimit", "PodsPerCore", "Port", "ProtectKernelDefaults", "ProviderID", "ReadOnlyPort", "RegisterNode", "RegistryBurst", "RegistryPullQPS",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
cmd/kube-proxy/app/server.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0) -
cmd/kube-proxy/app/server_test.go
- "10.20.30.40/16" - "fd00:1::0/64" nftables: masqueradeAll: true masqueradeBit: 18 minSyncPeriod: 10s syncPeriod: 60s kind: KubeProxyConfiguration metricsBindAddress: "%s" mode: "%s" oomScoreAdj: 17 portRange: "2-7" detectLocalMode: "ClusterCIDR" detectLocal: bridgeInterface: "cbr0" interfaceNamePrefix: "veth" nodePortAddresses: - "10.20.30.40/16" - "fd00:1::0/64" `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 32.3K bytes - Viewed (0)