Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 529 for Replicas (0.18 sec)

  1. pkg/apis/apps/v1/defaults.go

    		}
    	}
    
    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    		obj.Spec.RevisionHistoryLimit = new(int32)
    		*obj.Spec.RevisionHistoryLimit = 10
    	}
    }
    func SetDefaults_ReplicaSet(obj *appsv1.ReplicaSet) {
    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.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. pkg/apis/apps/v1beta2/defaults.go

    // - ProgressDeadlineSeconds set to 600s (not set in extensions)
    func SetDefaults_Deployment(obj *appsv1beta2.Deployment) {
    	// Set appsv1beta2.DeploymentSpec.Replicas to 1 if it is not set.
    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    		*obj.Spec.Replicas = 1
    	}
    	strategy := &obj.Spec.Strategy
    	// Set default appsv1beta2.DeploymentStrategyType as RollingUpdate.
    	if strategy.Type == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. pkg/controller/replicaset/replica_set_utils_test.go

    			},
    			apps.ReplicaSetStatus{
    				Replicas:             1,
    				FullyLabeledReplicas: 1,
    				ReadyReplicas:        1,
    				AvailableReplicas:    1,
    			},
    		},
    		{
    			"1 not fully labelled pod",
    			notFullyLabelledRS,
    			[]*v1.Pod{
    				newPod("pod1", notFullyLabelledRS, v1.PodRunning, nil, true),
    			},
    			apps.ReplicaSetStatus{
    				Replicas:             1,
    				FullyLabeledReplicas: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 19 20:18:23 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  6. pkg/registry/apps/replicaset/strategy_test.go

    			Template: validPodTemplate.Template,
    		},
    		Status: apps.ReplicaSetStatus{
    			Replicas:           1,
    			ObservedGeneration: int64(10),
    		},
    	}
    
    	Strategy.PrepareForCreate(ctx, rs)
    	if rs.Status.Replicas != 0 {
    		t.Error("ReplicaSet should not allow setting status.replicas on create")
    	}
    	if rs.Status.ObservedGeneration != int64(0) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 09 21:04:31 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v1/scalestatus.go

    type ScaleStatusApplyConfiguration struct {
    	Replicas *int32  `json:"replicas,omitempty"`
    	Selector *string `json:"selector,omitempty"`
    }
    
    // ScaleStatusApplyConfiguration constructs an declarative configuration of the ScaleStatus type for use with
    // apply.
    func ScaleStatus() *ScaleStatusApplyConfiguration {
    	return &ScaleStatusApplyConfiguration{}
    }
    
    // WithReplicas sets the Replicas field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 05 19:27:43 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  8. operator/pkg/verifier/k8s_util.go

    	}
    	if deployment.Spec.Replicas != nil && deployment.Status.UpdatedReplicas < *deployment.Spec.Replicas {
    		return fmt.Errorf("waiting for deployment %q rollout to finish: %d out of %d new replicas have been updated",
    			deployment.Name, deployment.Status.UpdatedReplicas, *deployment.Spec.Replicas)
    	}
    	if deployment.Status.Replicas > deployment.Status.UpdatedReplicas {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler.go

    // them so that they can be handled by scale.
    // For the managed fields that have a replicas path it performs two changes:
    //  1. APIVersion is changed to the APIVersion of the scale subresource
    //  2. Replicas path of the main resource is transformed to the replicas path of
    //     the scale subresource
    func (h *ScaleHandler) ToSubresource() ([]metav1.ManagedFieldsEntry, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/admission.k8s.io.v1.AdmissionReview.json

        "object": {
          "apiVersion": "example.com/v1",
          "kind": "CustomType",
          "spec": {
            "replicas": 1
          },
          "status": {
            "available": 1
          }
        },
        "oldObject": {
          "apiVersion": "example.com/v1",
          "kind": "CustomType",
          "spec": {
            "replicas": 1
          },
          "status": {
            "available": 1
          }
        },
        "dryRun": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 19 15:31:53 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top