Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ContainersReady (0.27 sec)

  1. pkg/kubelet/status/generate.go

    	containersReady := GenerateContainersReadyCondition(spec, containerStatuses, podPhase)
    	// If the status of ContainersReady is not True, return the same status, reason and message as ContainersReady.
    	if containersReady.Status != v1.ConditionTrue {
    		return v1.PodCondition{
    			Type:    v1.PodReady,
    			Status:  containersReady.Status,
    			Reason:  containersReady.Reason,
    			Message: containersReady.Message,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. pkg/kubelet/status/generate_test.go

    			podPhase:          v1.PodRunning,
    			expectReady:       getPodCondition(v1.ContainersReady, v1.ConditionFalse, UnknownContainerStatuses, ""),
    		},
    		{
    			spec:              &v1.PodSpec{},
    			containerStatuses: []v1.ContainerStatus{},
    			podPhase:          v1.PodRunning,
    			expectReady:       getPodCondition(v1.ContainersReady, v1.ConditionTrue, "", ""),
    		},
    		{
    			spec: &v1.PodSpec{
    				Containers: []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/testdata/pod.json

                },
                {
                    "apiVersion": "v1",
                    "fieldsType": "FieldsV1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 18 15:31:52 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

        type: Initialized
      - lastProbeTime: null
        lastTransitionTime: '2019-07-08T09:41:59Z'
        status: 'True'
        type: Ready
      - lastProbeTime: null
        lastTransitionTime: null
        status: 'True'
        type: ContainersReady
      - lastProbeTime: null
        lastTransitionTime: '2019-07-08T09:31:18Z'
        status: 'True'
        type: PodScheduled
      containerStatuses:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml

        type: Initialized
      - lastProbeTime: null
        lastTransitionTime: '2019-07-08T09:41:59Z'
        status: 'True'
        type: Ready
      - lastProbeTime: null
        lastTransitionTime: null
        status: 'True'
        type: ContainersReady
      - lastProbeTime: null
        lastTransitionTime: '2019-07-08T09:31:18Z'
        status: 'True'
        type: PodScheduled
      containerStatuses:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 19:51:58 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  6. pkg/kubelet/types/pod_status.go

    )
    
    // PodConditionsByKubelet is the list of pod conditions owned by kubelet
    var PodConditionsByKubelet = []v1.PodConditionType{
    	v1.PodScheduled,
    	v1.PodReady,
    	v1.PodInitialized,
    	v1.ContainersReady,
    }
    
    // PodConditionByKubelet returns if the pod condition type is owned by kubelet
    func PodConditionByKubelet(conditionType v1.PodConditionType) bool {
    	for _, c := range PodConditionsByKubelet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. pkg/kubelet/types/pod_status_test.go

    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.PodDisruptionConditions, true)
    
    	trueCases := []v1.PodConditionType{
    		v1.PodScheduled,
    		v1.PodReady,
    		v1.PodInitialized,
    		v1.ContainersReady,
    		v1.PodReadyToStartContainers,
    	}
    
    	for _, tc := range trueCases {
    		if !PodConditionByKubelet(tc) {
    			t.Errorf("Expect %q to be condition owned by kubelet.", tc)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

        manager: kube-scheduler
        operation: Update
        time: "2021-08-20T14:35:04Z"
      - apiVersion: v1
        fieldsType: FieldsV1
        fieldsV1:
          f:status:
            f:conditions:
              k:{"type":"ContainersReady"}:
                .: {}
                f:lastProbeTime: {}
                f:lastTransitionTime: {}
                f:status: {}
                f:type: {}
              k:{"type":"Initialized"}:
                .: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  9. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

        manager: kube-scheduler
        operation: Update
        time: "2021-08-20T14:35:04Z"
      - apiVersion: v1
        fieldsType: FieldsV1
        fieldsV1:
          f:status:
            f:conditions:
              k:{"type":"ContainersReady"}:
                .: {}
                f:lastProbeTime: {}
                f:lastTransitionTime: {}
                f:status: {}
                f:type: {}
              k:{"type":"Initialized"}:
                .: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  10. pkg/api/v1/pod/util_test.go

    	}
    }
    
    func TestGetContainersReadyCondition(t *testing.T) {
    	time := metav1.Now()
    
    	containersReadyCondition := v1.PodCondition{
    		Type:               v1.ContainersReady,
    		Status:             v1.ConditionTrue,
    		Reason:             "successfully",
    		Message:            "sync pod successfully",
    		LastProbeTime:      time,
    		LastTransitionTime: metav1.NewTime(time.Add(1000)),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
Back to top