- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for colgroup (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 24.8K bytes - Viewed (0) -
pkg/kubelet/eviction/threshold_notifier_unsupported.go
limitations under the License. */ package eviction import "k8s.io/klog/v2" // NewCgroupNotifier creates a cgroup notifier that does nothing because cgroups do not exist on non-linux systems. func NewCgroupNotifier(path, attribute string, threshold int64) (CgroupNotifier, error) { klog.V(5).InfoS("cgroup notifications not supported") return &unsupportedThresholdNotifier{}, nil } type unsupportedThresholdNotifier struct{}
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/kubelet/eviction/types.go
Thresholds []evictionapi.Threshold // KernelMemcgNotification if true will integrate with the kernel memcg notification to determine if memory thresholds are crossed. KernelMemcgNotification bool // PodCgroupRoot is the cgroup which contains all pods. PodCgroupRoot string } // Manager evaluates when an eviction threshold for node stability has been met on the node. type Manager interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 7.1K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation.go
// --reserved-cpus does not support --system-reserved-cgroup or --kube-reserved-cgroup if kc.SystemReservedCgroup != "" || kc.KubeReservedCgroup != "" { allErrors = append(allErrors, fmt.Errorf("invalid configuration: can't use reservedSystemCPUs (--reserved-cpus) with systemReservedCgroup (--system-reserved-cgroup) or kubeReservedCgroup (--kube-reserved-cgroup)")) } if _, err := cpuset.Parse(kc.ReservedSystemCPUs); err != nil {
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/kubelet/cm/util/cgroups_unsupported.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package util // GetPids gets pids of the desired cgroup func GetPids(cgroupPath string) ([]int, error) { return nil, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 732 bytes - Viewed (0) -
src/encoding/json/example_test.go
package json_test import ( "bytes" "encoding/json" "fmt" "io" "log" "os" "strings" ) func ExampleMarshal() { type ColorGroup struct { ID int Name string Colors []string } group := ColorGroup{ ID: 1, Name: "Reds", Colors: []string{"Crimson", "Red", "Ruby", "Maroon"}, } b, err := json.Marshal(group) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6.1K bytes - Viewed (0) -
pkg/kubelet/apis/config/validation/validation_test.go
conf.SystemReservedCgroup = "/system.slice" return conf }, errMsg: "invalid configuration: can't use reservedSystemCPUs (--reserved-cpus) with systemReservedCgroup (--system-reserved-cgroup) or kubeReservedCgroup (--kube-reserved-cgroup)", }, { name: "specify ReservedSystemCPUs with KubeReservedCgroup", configure: func(conf *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
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/cm/pod_container_manager_linux_test.go
}, { input: NewCgroupName(RootCgroupName, "system", "kubelet"), expectedResult: false, expectedUID: types.UID(""), }, { // contains reserved word "pod" in cgroup name input: NewCgroupName(RootCgroupName, GetPodCgroupNameSuffix("this-uid-contains-reserved-word-pod")), expectedResult: false, expectedUID: types.UID(""), }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 08 13:06:38 UTC 2022 - 8.9K bytes - Viewed (0) -
pkg/config/schema/codegen/collections.go
ClientImport: toImport(r.ProtoPackage), StatusImport: toImport(r.StatusProtoPackage), IstioAwareClientImport: toIstioAwareImport(r.ProtoPackage), ClientGroupPath: toGroup(r.ProtoPackage), ClientGetter: toGetter(r.ProtoPackage), ClientTypePath: toTypePath(r), SpecType: tname, } if r.StatusProtoPackage != "" { e.StatusType = statName
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 25 07:19:43 UTC 2023 - 5.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/handler.go
// // GetCgroupStats returns the stats and the networking usage of the cgroup // with the specified cgroupName. GetCgroupStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, *statsapi.NetworkStats, error) // GetCgroupCPUAndMemoryStats returns the CPU and memory stats of the cgroup with the specified cgroupName.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0)