Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for updatedReplicas (0.55 sec)

  1. 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)
  2. pkg/apis/apps/v1beta2/conversion_test.go

    				CurrentReplicas:    int32(3),
    				UpdatedReplicas:    int32(3),
    				CurrentRevision:    "12345",
    				UpdateRevision:     "23456",
    				ObservedGeneration: observedGeneration,
    			},
    			stsStatus2: &v1beta2.StatefulSetStatus{
    				Replicas:           int32(3),
    				ReadyReplicas:      int32(1),
    				CurrentReplicas:    int32(3),
    				UpdatedReplicas:    int32(3),
    				CurrentRevision:    "12345",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go

    	"replicas":            "replicas is the total number of non-terminated pods targeted by this deployment (their labels match the selector).",
    	"updatedReplicas":     "updatedReplicas is the total number of non-terminated pods targeted by this deployment that have the desired template spec.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:30 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  4. 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)
  5. pkg/kube/inject/testdata/inject/deploymentconfig-with-canonical-service-label.yaml.injected

            kind: ImageStreamTag
            name: hello-go-gke:1.0
        type: ImageChange
    status:
      availableReplicas: 0
      latestVersion: 0
      observedGeneration: 0
      replicas: 0
      unavailableReplicas: 0
      updatedReplicas: 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/deploymentconfig.yaml.injected

            kind: ImageStreamTag
            name: hello-go-gke:1.0
        type: ImageChange
    status:
      availableReplicas: 0
      latestVersion: 0
      observedGeneration: 0
      replicas: 0
      unavailableReplicas: 0
      updatedReplicas: 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kube/inject/testdata/inject/deploymentconfig-multi.yaml.injected

              name: hello-go-gke:1.0
          type: ImageChange
      status:
        availableReplicas: 0
        latestVersion: 0
        observedGeneration: 0
        replicas: 0
        unavailableReplicas: 0
        updatedReplicas: 0
    kind: List
    metadata: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/statefulset/stateful_set_control_test.go

    		t.Error("Failed to scale statefulset to 3 replicas")
    	}
    	if set.Status.ReadyReplicas != 3 {
    		t.Error("Failed to set ReadyReplicas correctly")
    	}
    	if set.Status.UpdatedReplicas != 3 {
    		t.Error("Failed to set UpdatedReplicas correctly")
    	}
    	// Check all pods have correct pod index label.
    	if utilfeature.DefaultFeatureGate.Enabled(features.PodIndexLabel) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
Back to top