- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,010 for Replicas (0.23 sec)
-
pkg/apis/apps/v1beta2/conversion_test.go
}{ "StatefulSetSpec Conversion 1": { stsSpec1: &apps.StatefulSetSpec{ Replicas: *replicas, Template: apiTemplate, }, stsSepc2: &v1beta2.StatefulSetSpec{ Replicas: replicas, Template: v1beta2Template, }, }, "StatefulSetSpec Conversion 2": { stsSpec1: &apps.StatefulSetSpec{ Replicas: *replicas, Selector: selector, Template: apiTemplate,
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/apis/apps/v1/conversion_test.go
}{ "StatefulSetSpec Conversion 1": { stsSpec1: &apps.StatefulSetSpec{ Replicas: *replicas, Template: apiTemplate, }, stsSepc2: &appsv1.StatefulSetSpec{ Replicas: replicas, Template: appsv1Template, }, }, "StatefulSetSpec Conversion 2": { stsSpec1: &apps.StatefulSetSpec{ Replicas: *replicas, Selector: selector, Template: apiTemplate,
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/controller/deployment/rolling.go
if *(newRS.Spec.Replicas) == *(deployment.Spec.Replicas) { // Scaling not required. return false, nil } if *(newRS.Spec.Replicas) > *(deployment.Spec.Replicas) { // Scale down. scaled, _, err := dc.scaleReplicaSetAndRecordEvent(ctx, newRS, *(deployment.Spec.Replicas), deployment) return scaled, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 9.9K bytes - Viewed (0) -
pkg/registry/apps/statefulset/storage/storage_test.go
t.Fatalf("unexpected error: %v", err) } ps := obj.(*apps.StatefulSet) if ps.Spec.Replicas != 7 { t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", ps.Spec.Replicas) } if ps.Status.Replicas != 7 { t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, ps.Status.Replicas) } } func TestGet(t *testing.T) { storage, server := newStorage(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 14K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/storage/storage_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 16 06:57:01 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
scaleUpCount = min(scaleUpCount, *(deployment.Spec.Replicas)-*(newRS.Spec.Replicas)) return *(newRS.Spec.Replicas) + scaleUpCount, nil case apps.RecreateDeploymentStrategyType: return *(deployment.Spec.Replicas), nil default: return 0, fmt.Errorf("deployment type %v isn't supported", deployment.Spec.Strategy.Type) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
pkg/registry/apps/replicaset/storage/storage_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 17.7K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/generated.proto
// the replica count to be deleted. optional string whenScaled = 2; } // A StatefulSetSpec is the specification of a StatefulSet. message StatefulSetSpec { // replicas is the desired number of replicas of the given Template. // These are replicas in the sense that they are instantiations of the // same Template, but individual replicas also have a consistent identity.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 24.1K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util_test.go
}, { name: "not complete: still running old pods", // old replica set: spec.replicas=1, status.replicas=1, status.availableReplicas=1 // new replica set: spec.replicas=1, status.replicas=1, status.availableReplicas=0 d: deployment(1, 2, 1, 1, 0, 1), expected: false, }, { name: "not complete: one replica deployment never comes up", d: deployment(1, 1, 1, 0, 1, 1),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 37.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go
status := content["status"].(map[string]interface{}) if spec["replicas"].(int64) != 7 { t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", spec["replicas"].(int64)) } if status["replicas"].(int64) != 7 { t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, status["replicas"].(int64)) } } func TestScaleGet(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 25.2K bytes - Viewed (0)