- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for CurrentReplicas (0.96 sec)
-
pkg/controller/podautoscaler/replica_calculator.go
return currentReplicas, usage, nil } newReplicas := int32(math.Ceil(newUsageRatio * float64(len(metrics)))) if (newUsageRatio < 1.0 && newReplicas > currentReplicas) || (newUsageRatio > 1.0 && newReplicas < currentReplicas) { // return the current replicas if the change of metrics length would cause a change in scale direction return currentReplicas, usage, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
if statusErr == nil { logger.V(4).Info("Updated status", "statefulSet", klog.KObj(set), "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) -
pkg/apis/apps/v1/conversion_test.go
ReadyReplicas: int32(1), CurrentReplicas: int32(3), UpdatedReplicas: int32(3), CurrentRevision: "12345", UpdateRevision: "23456", ObservedGeneration: observedGeneration, }, stsStatus2: &appsv1.StatefulSetStatus{ Replicas: int32(3), ReadyReplicas: int32(1), CurrentReplicas: int32(3), UpdatedReplicas: int32(3),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/conversion_test.go
ReadyReplicas: int32(1), 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),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 22.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils.go
func inconsistentStatus(set *apps.StatefulSet, status *apps.StatefulSetStatus) bool { return status.ObservedGeneration > set.Status.ObservedGeneration || status.Replicas != set.Status.Replicas || status.CurrentReplicas != set.Status.CurrentReplicas || status.ReadyReplicas != set.Status.ReadyReplicas || status.UpdatedReplicas != set.Status.UpdatedReplicas || status.CurrentRevision != set.Status.CurrentRevision ||
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/types.go
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 // indicated by currentRevision. CurrentReplicas int32 `json:"currentReplicas,omitempty" protobuf:"varint,4,opt,name=currentReplicas"` // updatedReplicas 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: Mon Nov 27 20:06:24 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/apis/apps/validation/validation.go
if status.ReadyReplicas > status.Replicas { allErrs = append(allErrs, field.Invalid(fieldPath.Child("readyReplicas"), status.ReadyReplicas, msg)) } if status.CurrentReplicas > status.Replicas { allErrs = append(allErrs, field.Invalid(fieldPath.Child("currentReplicas"), status.CurrentReplicas, msg)) } if status.UpdatedReplicas > 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) -
staging/src/k8s.io/api/autoscaling/v2beta1/types.go
// +optional LastScaleTime *metav1.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"` // currentReplicas is current number of replicas of pods managed by this autoscaler, // as last seen by the autoscaler. CurrentReplicas int32 `json:"currentReplicas" protobuf:"varint,3,opt,name=currentReplicas"` // desiredReplicas is the desired number of replicas of pods managed by this autoscaler,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:27 UTC 2023 - 26.9K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v1/types.go
// +optional LastScaleTime *metav1.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"` // currentReplicas is the current number of replicas of pods managed by this autoscaler. CurrentReplicas int32 `json:"currentReplicas" protobuf:"varint,3,opt,name=currentReplicas"` // desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 27.8K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta2/types.go
// +optional LastScaleTime *metav1.Time `json:"lastScaleTime,omitempty" protobuf:"bytes,2,opt,name=lastScaleTime"` // currentReplicas is current number of replicas of pods managed by this autoscaler, // as last seen by the autoscaler. CurrentReplicas int32 `json:"currentReplicas" protobuf:"varint,3,opt,name=currentReplicas"` // desiredReplicas is the desired number of replicas of pods managed by this autoscaler,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:27 UTC 2023 - 28.4K bytes - Viewed (0)