Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for DeploymentStatus (0.2 sec)

  1. pkg/controller/deployment/progress_test.go

    	"k8s.io/client-go/util/workqueue"
    	"k8s.io/klog/v2/ktesting"
    	"k8s.io/kubernetes/pkg/controller/deployment/util"
    )
    
    func newDeploymentStatus(replicas, updatedReplicas, availableReplicas int32) apps.DeploymentStatus {
    	return apps.DeploymentStatus{
    		Replicas:          replicas,
    		UpdatedReplicas:   updatedReplicas,
    		AvailableReplicas: availableReplicas,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go

    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
    func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(DeploymentStatus)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/managedfields/extract_test.go

        - name: status
          type:
            namedType: io.k8s.api.apps.v1.DeploymentStatus
    - name: io.k8s.api.apps.v1.DeploymentSpec
      map:
        fields:
        - name: paused
          type:
            scalar: boolean
        - name: replicas
          type:
            scalar: numeric
    - name: io.k8s.api.apps.v1.DeploymentStatus
      map:
        fields:
        - name: replicas
          type:
            scalar: numeric
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 22 22:32:45 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  4. pkg/apis/apps/zz_generated.deepcopy.go

    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
    func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(DeploymentStatus)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:09 UTC 2022
    - 24.7K bytes
    - Viewed (0)
  5. pkg/apis/extensions/v1beta1/zz_generated.conversion.go

    	if err := s.AddGeneratedConversionFunc((*v1beta1.DeploymentStatus)(nil), (*apps.DeploymentStatus)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_DeploymentStatus_To_apps_DeploymentStatus(a.(*v1beta1.DeploymentStatus), b.(*apps.DeploymentStatus), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 95.7K bytes
    - Viewed (0)
  6. pkg/controller/deployment/rolling.go

    	if err != nil {
    		return err
    	}
    	if scaledUp {
    		// Update DeploymentStatus
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	// Scale down, if we can.
    	scaledDown, err := dc.reconcileOldReplicaSets(ctx, allRSs, controller.FilterActiveReplicaSets(oldRSs), newRS, d)
    	if err != nil {
    		return err
    	}
    	if scaledDown {
    		// Update DeploymentStatus
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. operator/pkg/verifier/k8s_util.go

    				daemonSet.Namespace, daemonSet.Name, daemonSet.Status.NumberReady, daemonSet.Status.DesiredNumberScheduled)
    		}
    	}
    	return nil
    }
    
    func getDeploymentCondition(status appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) *appsv1.DeploymentCondition {
    	for i := range status.Conditions {
    		c := status.Conditions[i]
    		if c.Type == condType {
    			return &c
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go

    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
    func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
    	if in == nil {
    		return nil
    	}
    	out := new(DeploymentStatus)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 33.2K bytes
    - Viewed (0)
  9. pkg/controller/deployment/recreate.go

    	// scale down old replica sets.
    	scaledDown, err := dc.scaleDownOldReplicaSetsForRecreate(ctx, activeOldRSs, d)
    	if err != nil {
    		return err
    	}
    	if scaledDown {
    		// Update DeploymentStatus.
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    	}
    
    	// Do not process a deployment when it has old pods running.
    	if oldPodsRunning(newRS, oldRSs, podMap) {
    		return dc.syncRolloutStatus(ctx, allRSs, newRS, d)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 13 20:32:13 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  10. pkg/controller/deployment/util/deployment_util.go

    		Reason:             reason,
    		Message:            message,
    	}
    }
    
    // GetDeploymentCondition returns the condition with the provided type.
    func GetDeploymentCondition(status apps.DeploymentStatus, condType apps.DeploymentConditionType) *apps.DeploymentCondition {
    	for i := range status.Conditions {
    		c := status.Conditions[i]
    		if c.Type == condType {
    			return &c
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top