Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 439 for Replicas (0.29 sec)

  1. pkg/apis/apps/v1beta1/defaults_test.go

    	maxUnavailable, err := intstr.GetScaledValueFromIntOrPercent(d.Spec.Strategy.RollingUpdate.MaxUnavailable, int(*(d.Spec.Replicas)), false)
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	if *(d.Spec.Replicas)-int32(maxUnavailable) <= 0 {
    		t.Fatalf("the default value of maxUnavailable can lead to no active replicas during rolling update")
    	}
    }
    
    func TestSetDefaultStatefulSet(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.proto

    message ReplicaSetSpec {
      // Replicas is the number of desired replicas.
      // This is a pointer to distinguish between explicit zero and unspecified.
      // Defaults to 1.
      // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
      // +optional
      optional int32 replicas = 1;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. manifests/addons/values-loki.yaml

      lokiCanary:
        enabled: false
    resultsCache:
      enabled: false
    chunksCache:
      enabled: false
    singleBinary:
      replicas: 1
    deploymentMode: SingleBinary
    gateway:
      enabled: false
    read:
      replicas: 0
    write:
      replicas: 0
    backend:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 21:40:53 UTC 2024
    - 786 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/subresources_test.go

    			}
    
    			// Scale.Spec.Replicas = 7 but Scale.Status.Replicas should remain 0
    			gottenScale, err := scaleClient.Scales("not-the-default").Get(context.TODO(), groupResource, "foo", metav1.GetOptions{})
    			if err != nil {
    				t.Fatal(err)
    			}
    			if gottenScale.Spec.Replicas != 7 {
    				t.Fatalf("Scale.Spec.Replicas: expected: %v, got: %v", 7, gottenScale.Spec.Replicas)
    			}
    			if gottenScale.Status.Replicas != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 12 17:35:34 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"":      "StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. pkg/apis/apps/validation/validation_test.go

    		replicas:          3,
    		readyReplicas:     3,
    		currentReplicas:   2,
    		availableReplicas: int32(-1),
    		expectedErr:       true,
    	}, {
    		name:              "invalid: available replicas greater than replicas",
    		replicas:          3,
    		readyReplicas:     3,
    		currentReplicas:   2,
    		availableReplicas: int32(4),
    		expectedErr:       true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/admission.k8s.io.v1.AdmissionReview.yaml

        kind: CustomType
        spec:
          replicas: 1
        status:
          available: 1
      oldObject:
        apiVersion: example.com/v1
        kind: CustomType
        spec:
          replicas: 1
        status:
          available: 1
      operation: operationValue
      options:
        apiVersion: example.com/v1
        kind: CustomType
        spec:
          replicas: 1
        status:
          available: 1
      requestKind:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. operator/pkg/translate/translate_test.go

    			expectSkip: false,
    		},
    		{
    			name:       "hpa enabled for pilot without replicas",
    			component:  name.EgressComponentName,
    			values:     fmt.Sprintf(valuesWithHPAndReplicaCountFormat, false, false, false),
    			expectSkip: false,
    		},
    		{
    			name:       "hpa enabled for pilot with replicas",
    			component:  name.PilotComponentName,
    			values:     fmt.Sprintf(valuesWithHPAndReplicaCountFormat, true, false, false),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1/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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/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: Mon Apr 29 07:14:59 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top