Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for kube_pod_resource_limit (0.38 sec)

  1. pkg/scheduler/metrics/resources/resources_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	h.ServeHTTP(r, req)
    
    	expected := `# HELP kube_pod_resource_limit [STABLE] Resources limit for workloads on the cluster, broken down by pod. This shows the resource usage the scheduler and kubelet expect per pod for resources along with the unit for the resource if any.
    # TYPE kube_pod_resource_limit gauge
    kube_pod_resource_limit{namespace="test",node="node-one",pod="foo",priority="",resource="custom",scheduler="",unit=""} 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  2. pkg/scheduler/metrics/resources/resources.go

    			[]string{"namespace", "pod", "node", "scheduler", "priority", "resource", "unit"},
    			nil,
    			metrics.STABLE,
    			""),
    	},
    	limits: resourceLifecycleDescriptors{
    		total: metrics.NewDesc("kube_pod_resource_limit",
    			"Resources limit for workloads on the cluster, broken down by pod. This shows the resource usage the scheduler and kubelet expect per pod for resources along with the unit for the resource if any.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top