Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for nodesMap (0.37 sec)

  1. pkg/kubelet/apis/config/validation/validation.go

    		}
    	}
    	if !localFeatureGate.Enabled(features.NodeSwap) && kc.MemorySwap != (kubeletconfig.MemorySwapConfiguration{}) {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: memorySwap.swapBehavior cannot be set when NodeSwap feature flag is disabled"))
    	}
    
    	for _, val := range kc.EnforceNodeAllocatable {
    		switch val {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		}
    	}
    
    	return lcr
    }
    
    // configureContainerSwapResources configures the swap resources for a specified (linux) container.
    // Swap is only configured if a swap cgroup controller is available and the NodeSwap feature gate is enabled.
    func (m *kubeGenericRuntimeManager) configureContainerSwapResources(lcr *runtimeapi.LinuxContainerResources, pod *v1.Pod, container *v1.Container) {
    	if !swapControllerAvailable() {
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			nodeSwapFeatureGateEnabled: true,
    			swapBehavior:               types.LimitedSwap,
    		},
    
    		// With feature gate turned off
    		{
    			name:                       "NodeSwap feature gate turned off, cgroups v2, LimitedSwap",
    			cgroupVersion:              cgroupV2,
    			qosClass:                   v1.PodQOSBurstable,
    			nodeSwapFeatureGateEnabled: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  4. cmd/metrics.go

    }
    
    func nodeHealthMetricsPrometheus(ch chan<- prometheus.Metric) {
    	nodesUp, nodesDown := globalNotificationSys.GetPeerOnlineCount()
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "nodes", "online"),
    			"Total number of MinIO nodes online",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(nodesUp),
    	)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pkg/features/kube_features.go

    	// kep: https://kep.k8s.io/2400
    	// alpha: v1.22
    	// beta1: v1.28 (default=false)
    	// beta2: v.1.30 (default=true)
    
    	// Permits kubelet to run with swap enabled.
    	NodeSwap featuregate.Feature = "NodeSwap"
    
    	// owner: @mortent, @atiratree, @ravig
    	// kep: http://kep.k8s.io/3018
    	// alpha: v1.26
    	// beta: v1.27
    	//
    	// Enables PDBUnhealthyPodEvictionPolicy for PodDisruptionBudgets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	"os"
    	"path/filepath"
    	"regexp"
    	"testing"
    )
    
    type devirtualization struct {
    	pos    string
    	callee string
    }
    
    const profFileName = "devirt.pprof"
    const preProfFileName = "devirt.pprof.node_map"
    
    // testPGODevirtualize tests that specific PGO devirtualize rewrites are performed.
    func testPGODevirtualize(t *testing.T, dir string, want []devirtualization, pgoProfileName string) {
    	testenv.MustHaveGoRun(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/pgo_inl_test.go

    	"bytes"
    	"fmt"
    	"internal/profile"
    	"internal/testenv"
    	"io"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    const profFile = "inline_hot.pprof"
    const preProfFile = "inline_hot.pprof.node_map"
    
    func buildPGOInliningTest(t *testing.T, dir string, gcflag string) []byte {
    	const pkg = "example.com/pgo/inline"
    
    	// Add a go.mod so we have a consistent symbol names in this temp dir.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller_test.go

    			t.Fatalf("failed to create pods for DaemonSet")
    		}
    
    		nodeMap := make(map[string]*v1.Node)
    		for _, node := range manager.nodeStore.List() {
    			n := node.(*v1.Node)
    			nodeMap[n.Name] = n
    		}
    		if len(nodeMap) != nodeNum {
    			t.Fatalf("not enough nodes in the store, expected: %v, got: %v",
    				nodeNum, len(nodeMap))
    		}
    
    		for _, pod := range podControl.podIDMap {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/types.go

    	FeatureGates map[string]bool
    	// Tells the Kubelet to fail to start if swap is enabled on the node.
    	FailSwapOn bool
    	// memorySwap configures swap memory available to container workloads.
    	// +featureGate=NodeSwap
    	// +optional
    	MemorySwap MemorySwapConfiguration
    	// A quantity defines the maximum size of the container log file before it is rotated. For example: "5Mi" or "256Ki".
    	ContainerLogMaxSize string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  10. hack/local-up-cluster.sh

        if [ "${FAIL_SWAP_ON}" == "false" ]; then
            echo "WARNING : The kubelet is configured to not fail even if swap is enabled; production deployments should disable swap unless testing NodeSwap feature."
        fi
    
        if [[ "${REUSE_CERTS}" != true ]]; then
            # clear previous dynamic certs
            sudo rm -fr "/var/lib/kubelet/pki" "${CERT_DIR}/kubelet-rotated.kubeconfig"
            # create new certs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top