Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for conditionType (0.15 sec)

  1. pkg/printers/internalversion/printers.go

    		if len(pod.Spec.ReadinessGates) > 0 {
    			trueConditions := 0
    			for _, readinessGate := range pod.Spec.ReadinessGates {
    				conditionType := readinessGate.ConditionType
    				for _, condition := range pod.Status.Conditions {
    					if condition.Type == conditionType {
    						if condition.Status == api.ConditionTrue {
    							trueConditions++
    						}
    						break
    					}
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    					NodeName:   "test1",
    					ReadinessGates: []api.PodReadinessGate{
    						{
    							ConditionType: api.PodConditionType(condition1),
    						},
    						{
    							ConditionType: api.PodConditionType(condition2),
    						},
    						{
    							ConditionType: api.PodConditionType(condition3),
    						},
    					},
    				},
    				Status: api.PodStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    	return duration >= allowedDuration
    }
    
    func newCondition(conditionType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) *batch.JobCondition {
    	return &batch.JobCondition{
    		Type:               conditionType,
    		Status:             status,
    		LastProbeTime:      metav1.NewTime(now),
    		LastTransitionTime: metav1.NewTime(now),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.30.md

    - Fixed node lifecycle controller panic when conditionType ready is been patch `nil` by mistake. ([#122874](https://github.com/kubernetes/kubernetes/pull/122874), [@fusida](https://github.com/fusida))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
Back to top