- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 522 for prlimit (0.19 sec)
-
pkg/kubelet/server/stats/summary.go
} else { podStats, err = sp.provider.ListPodStats(ctx) } if err != nil { return nil, fmt.Errorf("failed to list pod stats: %v", err) } rlimit, err := sp.provider.RlimitStats() if err != nil { return nil, fmt.Errorf("failed to get rlimit stats: %v", err) } nodeStats := statsapi.NodeStats{ NodeName: node.Name, CPU: rootStats.CPU, Memory: rootStats.Memory,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_windows.go
memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI) } if cpuLimit != nil || memLimit != nil { cStatusResources = &kubecontainer.ContainerResources{ CPULimit: cpuLimit, MemoryLimit: memLimit, } } } return cStatusResources } func toKubeContainerUser(statusUser *runtimeapi.ContainerUser) *kubecontainer.ContainerUser { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go
tests := []struct { name string cpuLimit resource.Quantity cpuCount int64 want int64 }{ { name: "max range when same amount", cpuLimit: resource.MustParse("1"), cpuCount: 1, want: 10000, }, { name: "percentage calculation is working as intended", cpuLimit: resource.MustParse("94"), cpuCount: 96, want: 9791, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 5.3K bytes - Viewed (0) -
samples/ratelimit/rate-limit-service.yaml
################################################################################################## # Redis service and deployment # Ratelimit service and deployment # Note: a configmap is needed to make the rate limit deployment work properly, for example: # # apiVersion: v1 # kind: ConfigMap # metadata: # name: ratelimit-config # data: # config.yaml: | # domain: echo-ratelimit # descriptors:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 17:35:19 UTC 2024 - 3.5K bytes - Viewed (0) -
releasenotes/notes/limit-csr-clusterrole.yaml
apiVersion: release-notes/v2 kind: feature area: installation releaseNotes: - | **Added** check to limit the clusterrole for k8s CSR permissions for
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 21 19:34:22 UTC 2023 - 272 bytes - Viewed (0) -
gradlew
case $MAX_FD in #( max*) # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 11:20:16 UTC 2024 - 8.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux.go
if !isCgroup2UnifiedMode() { if swapControllerAvailable() { // memorySwapLimit = total permitted memory+swap; if equal to memory limit, => 0 swap above memory limit // Some swapping is still possible. // Note that if memory limit is 0, memory swap limit is ignored. lcr.MemorySwapLimitInBytes = lcr.MemoryLimitInBytes } return } m.configureSwap(lcr, 0) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/cmd/pilot-agent/config/config.go
if proxyConfig.Concurrency == nil { // We want to detect based on CPU limit configured. If we are running on a 100 core machine, but with // only 2 CPUs allocated, we want to have 2 threads, not 100, or we will get excessively throttled. if CPULimit != 0 { log.Infof("cpu limit detected as %v, setting concurrency", CPULimit) proxyConfig.Concurrency = wrapperspb.Int32(int32(CPULimit)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 6.4K bytes - Viewed (0) -
src/syscall/syscall_linux_amd64.go
//sys Fstatfs(fd int, buf *Statfs_t) (err error) //sys Ftruncate(fd int, length int64) (err error) //sysnb Getegid() (egid int) //sysnb Geteuid() (euid int) //sysnb Getgid() (gid int) //sysnb Getrlimit(resource int, rlim *Rlimit) (err error) //sysnb Getuid() (uid int) //sysnb InotifyInit() (fd int, err error) //sys Ioperm(from int, num int, on int) (err error) //sys Iopl(level int) (err error) //sys Listen(s int, n int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
} func (cm *containerManagerImpl) SystemCgroupsLimit() v1.ResourceList { cpuLimit := int64(0) // Sum up resources of all external containers. for _, cont := range cm.systemContainers { cpuLimit += cont.cpuMillicores } return v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity( cpuLimit, resource.DecimalSI), } } func isProcessRunningInHost(pid int) (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0)