Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for ReadyReplicas (0.17 sec)

  1. pkg/apis/apps/validation/validation_test.go

    	}, {
    		name:            "invalid replicas",
    		replicas:        -1,
    		readyReplicas:   3,
    		currentReplicas: 2,
    		updatedReplicas: 1,
    		expectedErr:     true,
    	}, {
    		name:            "invalid readyReplicas",
    		replicas:        3,
    		readyReplicas:   -1,
    		currentReplicas: 2,
    		updatedReplicas: 1,
    		expectedErr:     true,
    	}, {
    		name:            "invalid currentReplicas",
    		replicas:        3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation.go

    	}
    	if status.ReadyReplicas > status.Replicas {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("readyReplicas"), status.ReadyReplicas, msg))
    	}
    	if status.AvailableReplicas > status.Replicas {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("availableReplicas"), status.AvailableReplicas, msg))
    	}
    	if status.AvailableReplicas > status.ReadyReplicas {
    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. pkg/apis/core/v1/conversion.go

    	out.Replicas = in.Replicas
    	out.FullyLabeledReplicas = in.FullyLabeledReplicas
    	out.ReadyReplicas = in.ReadyReplicas
    	out.AvailableReplicas = in.AvailableReplicas
    	out.ObservedGeneration = in.ObservedGeneration
    	for _, cond := range in.Conditions {
    		out.Conditions = append(out.Conditions, apps.ReplicaSetCondition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1/types.go

    	Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"`
    
    	// readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
    	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,3,opt,name=readyReplicas"`
    
    	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control.go

    	status.Replicas = 0
    	status.ReadyReplicas = 0
    	status.AvailableReplicas = 0
    	status.CurrentReplicas = 0
    	status.UpdatedReplicas = 0
    	for _, list := range podLists {
    		replicaStatus := computeReplicaStatus(list, minReadySeconds, currentRevision, updateRevision)
    		status.Replicas += replicaStatus.replicas
    		status.ReadyReplicas += replicaStatus.readyReplicas
    		status.AvailableReplicas += replicaStatus.availableReplicas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // +optional
      optional int32 updatedReplicas = 3;
    
      // readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
      // +optional
      optional int32 readyReplicas = 7;
    
      // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"updatedReplicas":     "Total number of non-terminated pods targeted by this deployment that have the desired template spec.",
    	"readyReplicas":       "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.",
    	"availableReplicas":   "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_control_test.go

    	if err != nil {
    		t.Fatalf("Error getting updated StatefulSet: %v", err)
    	}
    	if set.Status.Replicas != 3 {
    		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.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	desiredReplicas := obj.Spec.Replicas
    	currentReplicas := obj.Status.Replicas
    	readyReplicas := obj.Status.ReadyReplicas
    
    	row.Cells = append(row.Cells, obj.Name, int64(desiredReplicas), int64(currentReplicas), int64(readyReplicas), translateTimestampSince(obj.CreationTimestamp))
    	if options.Wide {
    		names, images := layoutContainerCells(obj.Spec.Template.Spec.Containers)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // +optional
      optional int32 updatedReplicas = 3;
    
      // readyReplicas is the number of pods targeted by this Deployment controller with a Ready Condition.
      // +optional
      optional int32 readyReplicas = 7;
    
      // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top