Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for PodQOSClass (0.2 sec)

  1. pkg/kubelet/cm/qos_container_manager_linux.go

    	return nil
    }
    
    func (m *qosContainerManagerImpl) setHugePagesConfig(configs map[v1.PodQOSClass]*CgroupConfig) error {
    	for _, v := range configs {
    		if err := m.setHugePagesUnbounded(v); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (m *qosContainerManagerImpl) setCPUCgroupConfig(configs map[v1.PodQOSClass]*CgroupConfig) error {
    	pods := m.activePods()
    	burstablePodCPURequest := int64(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		assert.NoError(t, err)
    
    		return swapSize
    	}
    
    	for _, tc := range []struct {
    		name                        string
    		cgroupVersion               CgroupVersion
    		qosClass                    v1.PodQOSClass
    		swapDisabledOnNode          bool
    		nodeSwapFeatureGateEnabled  bool
    		swapBehavior                string
    		addContainerWithoutRequests bool
    		addGuaranteedContainer      bool
    	}{
    		// With cgroup v1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  3. pkg/apis/core/types.go

    )
    
    // PodQOSClass defines the supported qos classes of Pods.
    type PodQOSClass string
    
    // These are valid values for PodQOSClass
    const (
    	// PodQOSGuaranteed is the Guaranteed qos class.
    	PodQOSGuaranteed PodQOSClass = "Guaranteed"
    	// PodQOSBurstable is the Burstable qos class.
    	PodQOSBurstable PodQOSClass = "Burstable"
    	// PodQOSBestEffort is the BestEffort qos class.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/types.go

    	AppArmorProfileTypeLocalhost AppArmorProfileType = "Localhost"
    )
    
    // PodQOSClass defines the supported qos classes of Pods.
    // +enum
    type PodQOSClass string
    
    const (
    	// PodQOSGuaranteed is the Guaranteed qos class.
    	PodQOSGuaranteed PodQOSClass = "Guaranteed"
    	// PodQOSBurstable is the Burstable qos class.
    	PodQOSBurstable PodQOSClass = "Burstable"
    	// PodQOSBestEffort is the BestEffort qos class.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/strategy_test.go

    			Name: name,
    		},
    		Spec: api.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    func TestGetPodQOS(t *testing.T) {
    	testCases := []struct {
    		pod      *api.Pod
    		expected api.PodQOSClass
    	}{
    		{
    			pod: newPod("guaranteed", []api.Container{
    				newContainer("guaranteed", getResourceList("100m", "100Mi"), getResourceList("100m", "100Mi")),
    			}),
    			expected: api.PodQOSGuaranteed,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/eviction_manager_test.go

    			t.Errorf("Admit pod: %v, expected: %v, actual: %v", pod, expected[i], result.Admit)
    		}
    	}
    }
    
    func makeContainersByQOS(class v1.PodQOSClass) []v1.Container {
    	resource := newResourceList("100m", "1Gi", "")
    	switch class {
    	case v1.PodQOSGuaranteed:
    		return []v1.Container{newContainer("guaranteed-container", resource, resource)}
    	case v1.PodQOSBurstable:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/zz_generated.conversion.go

    	out.InitContainerStatuses = *(*[]core.ContainerStatus)(unsafe.Pointer(&in.InitContainerStatuses))
    	out.ContainerStatuses = *(*[]core.ContainerStatus)(unsafe.Pointer(&in.ContainerStatuses))
    	out.QOSClass = core.PodQOSClass(in.QOSClass)
    	out.EphemeralContainerStatuses = *(*[]core.ContainerStatus)(unsafe.Pointer(&in.EphemeralContainerStatuses))
    	out.Resize = core.PodResizeStatus(in.Resize)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "x-kubernetes-patch-strategy": "merge"
            },
            "qosClass": {
              "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes",
              "type": "string"
            },
            "reason": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

      // +optional
      repeated ContainerStatus containerStatuses = 8;
    
      // The Quality of Service (QOS) classification assigned to the pod based on resource requirements
      // See PodQOSClass type for available QOS classes
      // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
      // +optional
      optional string qosClass = 9;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"qosClass":                   "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes",
    	"ephemeralContainerStatuses": "Status for any ephemeral containers that have run in this pod.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
Back to top