- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 156 for prlimit (0.12 sec)
-
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) -
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) -
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) -
src/internal/trace/oldtrace.go
copy(mappedArgs[:], ev.Args[:]) switch ev.Type { case oldtrace.EvGomaxprocs: mappedType = go122.EvProcsChange if it.preInit { // The first EvGomaxprocs signals the end of trace initialization. At this point we've seen // all goroutines that already existed at trace begin. it.preInit = false for gid := range it.createdPreInit { // These are goroutines that already existed when tracing started but for which we
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
cluster/gce/manifests/etcd.manifest
{{security_context}} "image": "{{ pillar.get('etcd_docker_repository', 'registry.k8s.io/etcd') }}:{{ pillar.get('etcd_docker_tag', '3.5.14-0') }}", "resources": { "requests": { "cpu": {{ cpulimit }} } }, "command": [ "/bin/sh", "-c",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 03:36:35 UTC 2024 - 3.8K bytes - Viewed (0) -
src/syscall/syscall_darwin.go
//sysnb Getpgid(pid int) (pgid int, err error) //sysnb Getpgrp() (pgrp int) //sysnb Getpid() (pid int) //sysnb Getppid() (ppid int) //sys Getpriority(which int, who int) (prio int, err error) //sysnb Getrlimit(which int, lim *Rlimit) (err error) //sysnb Getrusage(who int, rusage *Rusage) (err error) //sysnb Getsid(pid int) (sid int, err error) //sysnb Getuid() (uid int) //sysnb Issetugid() (tainted bool) //sys Kqueue() (fd int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 11K bytes - Viewed (0)