Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 192 for replicaSet (0.39 sec)

  1. pkg/apis/apps/validation/validation.go

    // ValidateReplicaSetName can be used to check whether the given ReplicaSet
    // name is valid.
    // Prefix indicates this name will be used as part of generation, in which case
    // trailing dashes are allowed.
    var ValidateReplicaSetName = apimachineryvalidation.NameIsDNSSubdomain
    
    // ValidateReplicaSet tests if required fields in the ReplicaSet are set.
    func ValidateReplicaSet(rs *apps.ReplicaSet, opts apivalidation.PodValidationOptions) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

    }
    
    // DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for
    // more information.
    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    message ReplicaSet {
      // If the Labels of a ReplicaSet are empty, they are defaulted to
      // be the same as the Pod(s) that the ReplicaSet manages.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go

    func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
    func (in *ReplicaSet) DeepCopy() *ReplicaSet {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:00 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  4. pkg/controller/controller_utils.go

    func FilterActiveReplicaSets(replicaSets []*apps.ReplicaSet) []*apps.ReplicaSet {
    	activeFilter := func(rs *apps.ReplicaSet) bool {
    		return rs != nil && *(rs.Spec.Replicas) > 0
    	}
    	return FilterReplicaSets(replicaSets, activeFilter)
    }
    
    type filterRS func(rs *apps.ReplicaSet) bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. plugin/pkg/admission/security/podsecurity/admission_test.go

    	ownerA := metav1.OwnerReference{
    		APIVersion: "apps/v1",
    		Kind:       "ReplicaSet",
    		Name:       "myapp-123123",
    		UID:        types.UID("7610a7f4-8f80-4f88-95b5-6cefdd8e9dbd"),
    		Controller: pointer.Bool(true),
    	}
    	ownerB := metav1.OwnerReference{
    		APIVersion: "apps/v1",
    		Kind:       "ReplicaSet",
    		Name:       "myapp-234234",
    		UID:        types.UID("7610a7f4-8f80-4f88-95b5-as765as76f55"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  6. pkg/apis/apps/types.go

    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    type ReplicaSet struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ObjectMeta
    
    	// Spec defines the desired behavior of this ReplicaSet.
    	// +optional
    	Spec ReplicaSetSpec
    
    	// Status is the current status of this ReplicaSet. This data may be
    	// out of date by some window of time.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // This can not be 0 if MaxSurge is 0.
      // Defaults to 25%.
      // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
      // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
      // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
      // that the total number of pods available at all times during the update is at
      // least 70% of desired pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/conversion_test.go

    			outstr, _ := json.MarshalIndent(out, "", "  ")
    			t.Errorf("RC-RS conversion round-trip failed:\nin:\n%s\nout:\n%s", instr, outstr)
    		}
    	}
    }
    
    func roundTripRS(t *testing.T, rs *apps.ReplicaSet) *apps.ReplicaSet {
    	codec := legacyscheme.Codecs.LegacyCodec(appsv1.SchemeGroupVersion)
    	data, err := runtime.Encode(codec, rs)
    	if err != nil {
    		t.Errorf("%v\n %#v", err, rs)
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:15 UTC 2023
    - 21.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/extensions/v1beta1/zz_generated.prerelease-lifecycle.go

    func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int) {
    	return 1, 8
    }
    
    // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:29:23 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1beta2/zz_generated.prerelease-lifecycle.go

    func (in *ReplicaSet) APILifecycleDeprecated() (major, minor int) {
    	return 1, 9
    }
    
    // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
    // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
    func (in *ReplicaSet) APILifecycleReplacement() schema.GroupVersionKind {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 17.5K bytes
    - Viewed (0)
Back to top