Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 158 for replicaSet (0.27 sec)

  1. pkg/controller/controller_utils_test.go

    	tests := []struct {
    		name            string
    		replicaSets     []*apps.ReplicaSet
    		wantReplicaSets []*apps.ReplicaSet
    	}{
    		{
    			name: "Filters active replica sets",
    			replicaSets: []*apps.ReplicaSet{
    				newReplicaSet("zero", 0, rsUuid),
    				nil,
    				newReplicaSet("foo", 1, rsUuid),
    				newReplicaSet("bar", 2, rsUuid),
    			},
    			wantReplicaSets: []*apps.ReplicaSet{
    				newReplicaSet("foo", 1, rsUuid),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. api/openapi-spec/v3/apis__apps__v1_openapi.json

              }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 810.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *ReplicaSet) APILifecycleIntroduced() (major, minor int) {
    	return 1, 9
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. operator/pkg/name/name.go

    	NetworkAttachmentDefinitionStr    = "NetworkAttachmentDefinition"
    	PodStr                            = "Pod"
    	PDBStr                            = "PodDisruptionBudget"
    	ReplicaSetStr                     = "ReplicaSet"
    	RoleStr                           = "Role"
    	RoleBindingStr                    = "RoleBinding"
    	SAStr                             = "ServiceAccount"
    	ServiceStr                        = "Service"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/events/v1/types.go

    	// regarding contains the object this Event is about. In most cases it's an Object reporting controller
    	// implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because
    	// it acts on some changes in a ReplicaSet object.
    	// +optional
    	Regarding corev1.ObjectReference `json:"regarding,omitempty" protobuf:"bytes,8,opt,name=regarding"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    func randIP(s *string, r *rand.Rand) {
    	*s = fmt.Sprintf("10.20.%d.%d", r.Int31n(256), r.Int31n(256))
    }
    
    // randPod changes fields in pod to mimic another pod from the same replicaset.
    // The list fields here has been generated by picking two pods in the same replicaset
    // and checking diff of their jsons.
    func randPod(b *testing.B, pod *v1.Pod, r *rand.Rand) {
    	pod.Name = fmt.Sprintf("%s-%x", pod.GenerateName, r.Int63n(1000))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/conversion.go

    	}
    	if err := AddFieldLabelConversionsForService(scheme); err != nil {
    		return err
    	}
    	return nil
    }
    
    func Convert_v1_ReplicationController_To_apps_ReplicaSet(in *v1.ReplicationController, out *apps.ReplicaSet, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	if err := Convert_v1_ReplicationControllerSpec_To_apps_ReplicaSetSpec(&in.Spec, &out.Spec, s); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. pkg/kube/util.go

    			deployMeta.Name = controllerRef.Name
    			if typeMetadata.Kind == "ReplicaSet" && pod.Labels["pod-template-hash"] != "" && strings.HasSuffix(controllerRef.Name, pod.Labels["pod-template-hash"]) {
    				name := strings.TrimSuffix(controllerRef.Name, "-"+pod.Labels["pod-template-hash"])
    				deployMeta.Name = name
    				typeMetadata.Kind = "Deployment"
    			} else if typeMetadata.Kind == "ReplicaSet" && pod.Labels["rollouts-pod-template-hash"] != "" &&
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. pkg/controller/disruption/disruption.go

    }
    
    var (
    	controllerKindRS  = v1beta1.SchemeGroupVersion.WithKind("ReplicaSet")
    	controllerKindSS  = apps.SchemeGroupVersion.WithKind("StatefulSet")
    	controllerKindRC  = v1.SchemeGroupVersion.WithKind("ReplicationController")
    	controllerKindDep = v1beta1.SchemeGroupVersion.WithKind("Deployment")
    )
    
    // getPodReplicaSet finds a replicaset which has no matching deployments.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    		}
    	}
    }
    
    func TestPrintReplicaSet(t *testing.T) {
    	tests := []struct {
    		replicaSet apps.ReplicaSet
    		options    printers.GenerateOptions
    		expected   []metav1.TableRow
    	}{
    		// Generate options empty
    		{
    			replicaSet: apps.ReplicaSet{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "test1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top