Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for kernelVersion (1.25 sec)

  1. src/internal/syscall/unix/kernel_version_other.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !linux && !solaris
    
    package unix
    
    func KernelVersion() (major int, minor int) {
    	return 0, 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 266 bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.yaml

          Port: 1
      images:
      - names:
        - namesValue
        sizeBytes: 2
      nodeInfo:
        architecture: architectureValue
        bootID: bootIDValue
        containerRuntimeVersion: containerRuntimeVersionValue
        kernelVersion: kernelVersionValue
        kubeProxyVersion: kubeProxyVersionValue
        kubeletVersion: kubeletVersionValue
        machineID: machineIDValue
        operatingSystem: operatingSystemValue
        osImage: osImageValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/net/sock_linux.go

    //
    //   - uint16 in kernel version < 4.1,
    //   - uint32 in kernel version >= 4.1
    //
    // Truncate number to avoid wrapping.
    //
    // See issue 5030 and 41470.
    func maxAckBacklog(n int) int {
    	major, minor := unix.KernelVersion()
    	size := 16
    	if major > 4 || (major == 4 && minor >= 1) {
    		size = 32
    	}
    
    	var max uint = 1<<size - 1
    	if uint(n) > max {
    		n = int(max)
    	}
    	return n
    }
    
    func maxListenerBacklog() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 03 18:39:45 UTC 2022
    - 993 bytes
    - Viewed (0)
  4. pkg/kubelet/winstats/perfcounter_nodestats_test.go

    	assert.NotZero(t, id)
    }
    
    func TestGetVersionInfo(t *testing.T) {
    	client := perfCounterNodeStatsClient{
    		nodeInfo: nodeInfo{
    			kernelVersion:  "foo",
    			osImageVersion: "lish",
    		},
    	}
    
    	info, _ := client.getVersionInfo()
    	expected := &cadvisorapi.VersionInfo{
    		KernelVersion:      "foo",
    		ContainerOsVersion: "lish",
    	}
    	assert.Equal(t, expected, info)
    }
    
    func TestCollectMetricsData(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pkg/api/testing/node_example.json

                }
            ],
            "nodeInfo": {
                "machineID": "",
                "systemUUID": "D59FA3FA-7B5B-7287-5E1A-1D79F13CB577",
                "bootID": "44a832f3-8cfb-4de5-b7d2-d66030b6cd95",
                "kernelVersion": "3.16.0-0.bpo.4-amd64",
                "osImage": "Debian GNU/Linux 7 (wheezy)",
                "containerRuntimeVersion": "containerd://1.4.2",
                "kubeletVersion": "v0.15.0-484-g0c8ee980d705a3-dirty",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 00:36:50 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. pkg/kubelet/util/swap/swap_util.go

    			klog.InfoS("Running under a user namespace - tmpfs noswap is not supported")
    			return false
    		}
    
    		kernelVersion, err := utilkernel.GetVersion()
    		if err != nil {
    			klog.ErrorS(err, "cannot determine kernel version, unable to determine is tmpfs noswap is supported")
    			return false
    		}
    
    		if kernelVersion.AtLeast(version.MustParseGeneric(utilkernel.TmpfsNoswapSupportKernelVersion)) {
    			return true
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Node.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. pkg/kubelet/winstats/perfcounter_nodestats.go

    	return int(r0)
    }
    
    func (p *perfCounterNodeStatsClient) getVersionInfo() (*cadvisorapi.VersionInfo, error) {
    	return &cadvisorapi.VersionInfo{
    		KernelVersion:      p.nodeInfo.kernelVersion,
    		ContainerOsVersion: p.nodeInfo.osImageVersion,
    	}, nil
    }
    
    func (p *perfCounterNodeStatsClient) getNodeMetrics() (nodeMetrics, error) {
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top