Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for QOSClass (0.16 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/apis/core/types.go

    	// Date and time at which the object was acknowledged by the Kubelet.
    	// This is before the Kubelet pulled the container image(s) for the pod.
    	// +optional
    	StartTime *metav1.Time
    	// +optional
    	QOSClass PodQOSClass
    
    	// The list has one entry per init container in the manifest. The most recent successful
    	// init container will have ready = true, the most recently started container will have
    	// startTime set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"containerStatuses":          "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation.go

    	if apiequality.Semantic.DeepEqual(newPod.Spec, oldPod.Spec) {
    		return allErrs
    	}
    
    	if qos.GetPodQOS(oldPod) != qos.ComputePodQOS(newPod) {
    		allErrs = append(allErrs, field.Invalid(fldPath, newPod.Status.QOSClass, "Pod QoS is immutable"))
    	}
    
    	// handle updateable fields by munging those fields prior to deep equal comparison.
    	mungedPodSpec := *newPod.Spec.DeepCopy()
    	// munge spec.containers[*].image
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top