Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for QOSClass (0.25 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json

              "linux": {
                "uid": 1,
                "gid": 2,
                "supplementalGroups": [
                  3
                ]
              }
            }
          }
        ],
        "qosClass": "qosClassValue",
        "ephemeralContainerStatuses": [
          {
            "name": "nameValue",
            "state": {
              "waiting": {
                "reason": "reasonValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    			}),
    			expected: api.PodQOSBurstable,
    		},
    	}
    	for id, testCase := range testCases {
    		Strategy.PrepareForCreate(genericapirequest.NewContext(), testCase.pod)
    		actual := testCase.pod.Status.QOSClass
    		if actual != testCase.expected {
    			t.Errorf("[%d]: invalid qos pod %s, expected: %s, actual: %s", id, testCase.pod.Name, testCase.expected, actual)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/strategy.go

    func (podStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	pod := obj.(*api.Pod)
    	pod.Status = api.PodStatus{
    		Phase:    api.PodPending,
    		QOSClass: qos.GetPodQOS(pod),
    	}
    
    	podutil.DropDisabledPodFields(pod, nil)
    
    	applySchedulingGatedCondition(pod)
    	mutatePodAffinity(pod)
    	applyAppArmorVersionSkew(ctx, pod)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.29.md

    - `GetPodQOS(pod *core.Pod)` function now returns the stored value from `PodStatus.QOSClass`, if set. To compute/evaluate the value of `QOSClass` from scratch, `ComputePodQOS(pod*core.Pod)` must be used. ([#119665](https://github.com/kubernetes/kubernetes/pull/119665), [@vinaykul](https://github.com/vinaykul))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/kubelet_pods.go

    	}
    	if len(apiPodStatus.PodIPs) > 0 {
    		apiPodStatus.PodIP = apiPodStatus.PodIPs[0].IP
    	}
    
    	// set status for Pods created on versions of kube older than 1.6
    	apiPodStatus.QOSClass = v1qos.GetPodQOS(pod)
    
    	apiPodStatus.ContainerStatuses = kl.convertToAPIContainerStatuses(
    		pod, podStatus,
    		oldPodStatus.ContainerStatuses,
    		pod.Spec.Containers,
    		len(pod.Spec.InitContainers) > 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/types.go

    	// See PodQOSClass type for available QOS classes
    	// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/#quality-of-service-classes
    	// +optional
    	QOSClass PodQOSClass `json:"qosClass,omitempty" protobuf:"bytes,9,rep,name=qosClass"`
    	// Status for any ephemeral containers that have run in this pod.
    	// +optional
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/generated.pb.go

    				}
    				i -= size
    				i = encodeVarintGenerated(dAtA, i, uint64(size))
    			}
    			i--
    			dAtA[i] = 0x52
    		}
    	}
    	i -= len(m.QOSClass)
    	copy(dAtA[i:], m.QOSClass)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.QOSClass)))
    	i--
    	dAtA[i] = 0x4a
    	if len(m.ContainerStatuses) > 0 {
    		for iNdEx := len(m.ContainerStatuses) - 1; iNdEx >= 0; iNdEx-- {
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              },
              "type": "array",
              "x-kubernetes-patch-merge-key": "ip",
              "x-kubernetes-patch-strategy": "merge"
            },
            "qosClass": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // 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;
    
      // Status for any ephemeral containers that have run in this pod.
      // +optional
      repeated ContainerStatus ephemeralContainerStatuses = 13;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
Back to top