Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for replicaset1 (0.26 sec)

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

    	selector := &metav1.LabelSelector{MatchLabels: matchLabels, MatchExpressions: matchExpressions}
    
    	testcases := map[string]struct {
    		replicaset1 *apps.ReplicaSetSpec
    		replicaset2 *appsv1.ReplicaSetSpec
    	}{
    		"ReplicaSetSpec Conversion 1": {
    			replicaset1: &apps.ReplicaSetSpec{
    				Replicas:        *replicas,
    				MinReadySeconds: 2,
    				Template: api.PodTemplateSpec{
    					Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1beta2/conversion_test.go

    	selector := &metav1.LabelSelector{MatchLabels: matchLabels, MatchExpressions: matchExpressions}
    
    	testcases := map[string]struct {
    		replicaset1 *apps.ReplicaSetSpec
    		replicaset2 *v1beta2.ReplicaSetSpec
    	}{
    		"ReplicaSetSpec Conversion 1": {
    			replicaset1: &apps.ReplicaSetSpec{
    				Replicas:        *replicas,
    				MinReadySeconds: 2,
    				Template: api.PodTemplateSpec{
    					Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set.go

    }
    
    // getReplicaSetsWithSameController returns a list of ReplicaSets with the same
    // owner as the given ReplicaSet.
    func (rsc *ReplicaSetController) getReplicaSetsWithSameController(logger klog.Logger, rs *apps.ReplicaSet) []*apps.ReplicaSet {
    	controllerRef := metav1.GetControllerOf(rs)
    	if controllerRef == nil {
    		utilruntime.HandleError(fmt.Errorf("ReplicaSet has no controller: %v", rs))
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/replicaset.go

    	b := &ReplicaSetApplyConfiguration{}
    	err := managedfields.ExtractInto(replicaSet, internal.Parser().Type("io.k8s.api.apps.v1.ReplicaSet"), fieldManager, b, subresource)
    	if err != nil {
    		return nil, err
    	}
    	b.WithName(replicaSet.Name)
    	b.WithNamespace(replicaSet.Namespace)
    
    	b.WithKind("ReplicaSet")
    	b.WithAPIVersion("apps/v1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/replicaset.go

    	b := &ReplicaSetApplyConfiguration{}
    	err := managedfields.ExtractInto(replicaSet, internal.Parser().Type("io.k8s.api.apps.v1beta2.ReplicaSet"), fieldManager, b, subresource)
    	if err != nil {
    		return nil, err
    	}
    	b.WithName(replicaSet.Name)
    	b.WithNamespace(replicaSet.Namespace)
    
    	b.WithKind("ReplicaSet")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inject/replicaset.yaml.injected

              value: REDIRECT
            - name: ISTIO_META_WORKLOAD_NAME
              value: hello
            - name: ISTIO_META_OWNER
              value: kubernetes://apis/apps/v1/namespaces/default/replicasets/hello
            - name: ISTIO_META_MESH_ID
              value: cluster.local
            - name: TRUST_DOMAIN
              value: cluster.local
            image: gcr.io/istio-testing/proxyv2:latest
            name: istio-proxy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. pkg/controller/replicaset/replica_set_test.go

    			rss:         []*apps.ReplicaSet{someRS, unrelatedRS},
    			rs:          someRS,
    			expectedRSs: []*apps.ReplicaSet{someRS},
    		},
    		{
    			name:        "expect to get back the given ReplicaSet as well as any related ReplicaSet but not an unrelated ReplicaSet",
    			rss:         []*apps.ReplicaSet{someRS, relatedRS, unrelatedRS},
    			rs:          someRS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inject/replicaset.yaml

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      name: hello
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello  
      template:
        metadata:
          labels:
            app: hello
        spec:
          containers:
            - name: hello
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
                - name: http
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 16 01:43:48 UTC 2019
    - 378 bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/deployment/util/deployment_util.go

    func FindOldReplicaSets(deployment *apps.Deployment, rsList []*apps.ReplicaSet) ([]*apps.ReplicaSet, []*apps.ReplicaSet) {
    	var requiredRSs []*apps.ReplicaSet
    	var allRSs []*apps.ReplicaSet
    	newRS := FindNewReplicaSet(deployment, rsList)
    	for _, rs := range rsList {
    		// Filter out new replica set
    		if newRS != nil && rs.UID == newRS.UID {
    			continue
    		}
    		allRSs = append(allRSs, rs)
    		if *(rs.Spec.Replicas) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
Back to top