- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for libcontainercgroups (0.26 sec)
-
pkg/kubelet/cm/util/cgroups_linux.go
dir := "" if libcontainercgroups.IsCgroup2UnifiedMode() { path, err := filepath.Rel("/", cgroupPath) if err != nil { return nil, err } dir = filepath.Join(CgroupRoot, path) } else { var err error dir, err = getCgroupV1Path(cgroupPath) if err != nil { return nil, err } } return libcontainercgroups.GetPids(dir) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 12 07:50:19 UTC 2020 - 2.9K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux.go
func getCgroupSubsystemsV2() (*CgroupSubsystems, error) { controllers, err := libcontainercgroups.GetAllSubsystems() if err != nil { return nil, err } mounts := []libcontainercgroups.Mount{} mountPoints := make(map[string]string, len(controllers)) for _, controller := range controllers { mountPoints[controller] = util.CgroupRoot m := libcontainercgroups.Mount{ Mountpoint: util.CgroupRoot, Root: util.CgroupRoot,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 11:52:28 UTC 2023 - 9.8K bytes - Viewed (0) -
cmd/kubelet/app/server_linux.go
See the License for the specific language governing permissions and limitations under the License. */ package app import ( "k8s.io/klog/v2" "k8s.io/utils/inotify" libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups" ) func watchForLockfileContention(path string, done chan struct{}) error { watcher, err := inotify.NewWatcher() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 26 09:04:06 UTC 2022 - 1.4K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux.go
func getCgroupCpuConfig(cgroupPath string) (*ResourceConfig, error) { if libcontainercgroups.IsCgroup2UnifiedMode() { return getCgroupv2CpuConfig(cgroupPath) } else { return getCgroupv1CpuConfig(cgroupPath) } } func getCgroupMemoryConfig(cgroupPath string) (*ResourceConfig, error) { memLimitFile := "memory.limit_in_bytes" if libcontainercgroups.IsCgroup2UnifiedMode() { memLimitFile = "memory.max" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 26.5K bytes - Viewed (0) -
pkg/kubelet/cm/qos_container_manager_linux.go
package cm import ( "fmt" "strconv" "strings" "sync" "time" v1 "k8s.io/api/core/v1" "k8s.io/klog/v2" "k8s.io/apimachinery/pkg/util/wait" units "github.com/docker/go-units" libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups" utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/kubernetes/pkg/api/v1/resource" v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 20:42:59 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
package kuberuntime import ( "errors" "fmt" "math" "os" "path/filepath" "strconv" "sync" "time" "github.com/containerd/cgroups" cadvisorv1 "github.com/google/cadvisor/info/v1" libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" utilfeature "k8s.io/apiserver/pkg/util/feature" runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
pkg/kubelet/eviction/threshold_notifier_linux.go
See the License for the specific language governing permissions and limitations under the License. */ package eviction import ( "fmt" "sync" "time" libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups" "golang.org/x/sys/unix" "k8s.io/klog/v2" ) const ( // eventSize is the number of bytes returned by a successful read from an eventfd
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 01 21:59:54 UTC 2022 - 5.8K bytes - Viewed (0) -
pkg/kubelet/cm/pod_container_manager_linux.go
See the License for the specific language governing permissions and limitations under the License. */ package cm import ( "errors" "fmt" "os" "path" "strings" libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" utilerrors "k8s.io/apimachinery/pkg/util/errors" utilfeature "k8s.io/apiserver/pkg/util/feature"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 16:38:36 UTC 2023 - 12.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
import ( "context" "fmt" "math" "os" "reflect" "strconv" "testing" "k8s.io/kubernetes/pkg/kubelet/cm" "k8s.io/kubernetes/pkg/kubelet/types" "github.com/google/go-cmp/cmp" libcontainercgroups "github.com/opencontainers/runc/libcontainer/cgroups" "github.com/stretchr/testify/assert" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0)