- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for Replicas (0.12 sec)
-
staging/src/k8s.io/api/apps/v1/types.go
// to number replicas from an alternate index (eg: 1-indexed) over the default // 0-indexed names, or to orchestrate progressive movement of replicas from // one StatefulSet to another. // If set, replica indices will be in the range: // [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas). // If unset, defaults to 0. Replica indices will be in the range: // [0, .spec.replicas).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 49.1K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal.go
possibleLimitingCondition = "TooManyReplicas" possibleLimitingReason = "the desired replica count is more than the maximum replica count" } if desiredReplicas < minimumAllowedReplicas { possibleLimitingCondition = "TooFewReplicas" possibleLimitingReason = "the desired replica count is less than the minimum replica count" return minimumAllowedReplicas, possibleLimitingCondition, possibleLimitingReason
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
updates++ // Confirm that the update has the right status.Replicas even though the Get // returned a ReplicaSet with replicas=1. if c, ok := action.GetObject().(*apps.ReplicaSet); !ok { t.Errorf("Expected a ReplicaSet as the argument to update, got %T", c) } else if c.Status.Replicas != numReplicas { t.Errorf("Expected update for ReplicaSet to contain replicas %v, got %v instead", numReplicas, c.Status.Replicas) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils_test.go
}, } } func newStatefulSet(replicas int32) *apps.StatefulSet { petMounts := []v1.VolumeMount{ {Name: "datadir", MountPath: "/tmp/zookeeper"}, } podMounts := []v1.VolumeMount{ {Name: "home", MountPath: "/home"}, } return newStatefulSetWithVolumes(replicas, "foo", petMounts, podMounts) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
}, }) add(t, dc.podStore, pod) } dc.sync(ctx, pdbName) disruptionsAllowed := int32(0) if replicas-pods < maxUnavailable { disruptionsAllowed = maxUnavailable - (replicas - pods) } ps.VerifyPdbStatus(t, pdbName, disruptionsAllowed, pods, replicas-maxUnavailable, replicas, map[string]metav1.Time{}) } func TestScaleFinderNoResource(t *testing.T) { resourceName := "customresources"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
}, } }) fakeParams2 := fakeParams.DeepCopy() fakeParams2.SetName("replicas-test2.example.com") denyBinding2 := denyBinding.DeepCopy() denyBinding2.SetName("denybinding2.example.com") denyBinding2.Spec.ParamRef.Name = fakeParams2.GetName() fakeParams3 := fakeParams.DeepCopy() fakeParams3.SetName("replicas-test3.example.com") denyBinding3 := denyBinding.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
if !ok { t.Errorf("unexpected object: %v", rc2) t.FailNow() } if rc2.Spec.Replicas == nil { t.Errorf("unexpected nil Replicas") } else if test.expectReplicas != *rc2.Spec.Replicas { t.Errorf("expected: %d replicas, got: %d", test.expectReplicas, *rc2.Spec.Replicas) } } } type InitContainerValidator func(got, expected *v1.Container) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
}, Spec: autoscaling.ScaleSpec{ Replicas: 1, }, }, { ObjectMeta: metav1.ObjectMeta{ Name: "frontend", Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.ScaleSpec{ Replicas: 10, }, }, { ObjectMeta: metav1.ObjectMeta{ Name: "frontend", Namespace: metav1.NamespaceDefault, }, Spec: autoscaling.ScaleSpec{ Replicas: 0, }, }}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "replicas": 1, "selector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue", "operator": "operatorValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 54.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1beta1.Deployment.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "replicas": 1, "selector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue", "operator": "operatorValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 54.5K bytes - Viewed (0)