Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for updatedReplicas (0.28 sec)

  1. pkg/controller/deployment/progress_test.go

    	"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,
    	}
    }
    
    // assumes the retuned deployment is always observed - not needed to be tested here.
    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. pkg/apis/apps/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fieldPath.Child("currentReplicas"), status.CurrentReplicas, msg))
    	}
    	if status.UpdatedReplicas > status.Replicas {
    		allErrs = append(allErrs, field.Invalid(fieldPath.Child("updatedReplicas"), status.UpdatedReplicas, msg))
    	}
    	if status.AvailableReplicas > status.Replicas {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // +optional
      optional int32 replicas = 2;
    
      // updatedReplicas is the total number of non-terminated pods targeted by this deployment that have the desired template spec.
      // +optional
      optional int32 updatedReplicas = 3;
    
      // readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_control.go

    			"replicas", currentStatus.Replicas,
    			"readyReplicas", currentStatus.ReadyReplicas,
    			"currentReplicas", currentStatus.CurrentReplicas,
    			"updatedReplicas", currentStatus.UpdatedReplicas)
    	}
    
    	switch {
    	case err != nil && statusErr != nil:
    		logger.Error(statusErr, "Could not update status", "statefulSet", klog.KObj(set))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // +optional
      optional int32 replicas = 2;
    
      // updatedReplicas is the total number of non-terminated pods targeted by this deployment that have the desired template spec.
      // +optional
      optional int32 updatedReplicas = 3;
    
      // readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/kube/deployment.go

    				}
    			} else {
    				dep, err := appsv1Client.Deployments(d.cfg.Namespace.Name()).Get(context.TODO(), deploymentName, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    				if dep.Spec.Replicas == nil || !deploymentComplete(dep) {
    					return fmt.Errorf("rollout is not yet done (updated replicas: %v)", dep.Status.UpdatedReplicas)
    				}
    			}
    			return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_utils.go

    // is set to the empty string. status's currentReplicas is set to updateReplicas and its updateReplicas
    // are set to 0.
    func completeRollingUpdate(set *apps.StatefulSet, status *apps.StatefulSetStatus) {
    	if set.Spec.UpdateStrategy.Type == apps.RollingUpdateStatefulSetStrategyType &&
    		status.UpdatedReplicas == *set.Spec.Replicas &&
    		status.ReadyReplicas == *set.Spec.Replicas &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"currentReplicas":    "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.",
    	"updatedReplicas":    "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1/generated.proto

      // indicated by currentRevision.
      optional int32 currentReplicas = 4;
    
      // updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
      // indicated by updateRevision.
      optional int32 updatedReplicas = 5;
    
      // currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/generated.proto

      // indicated by currentRevision.
      optional int32 currentReplicas = 4;
    
      // updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
      // indicated by updateRevision.
      optional int32 updatedReplicas = 5;
    
      // currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top