Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,182 for replicas2 (0.35 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    						{Name: "v2", Served: false, Storage: false, Subresources: &apiextensions.CustomResourceSubresources{Scale: &apiextensions.CustomResourceSubresourceScale{SpecReplicasPath: "spec.replicas2"}}},
    					},
    				},
    			},
    			Out: &CustomResourceDefinition{},
    			ExpectOut: &CustomResourceDefinition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

      }
      func.return
    }
    
    // CHECK: %[[REPLICA_0:.*]]:2, %{{.*}} = tf_executor.island
    // CHECK: %[[REPLICA_1:.*]]:2, %{{.*}} = tf_executor.island
    // CHECK: tf_executor.fetch %[[REPLICA_0]]#0, %[[REPLICA_1]]#0, %[[REPLICA_0]]#1, %[[REPLICA_1]]#1
    
    
    // Tests replicate results are remapped correctly with packed inputs.
    // CHECK-LABEL: func @replicate_with_packed_input
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. 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)
  4. hack/testdata/redis-slave-replicaset.yaml

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      name: redis-slave
      labels:
        app: redis
        role: slave
        tier: backend
    spec:
      # this replicas value is default
      # modify it according to your case
      replicas: 2
      selector:
        matchLabels:
          app: redis
          role: slave
          tier: backend
      template:
        metadata:
          labels:
            app: redis
            role: slave
            tier: backend
        spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 19 16:19:12 UTC 2018
    - 981 bytes
    - Viewed (0)
  5. hack/testdata/frontend-replicaset.yaml

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      name: frontend
      labels:
        app: guestbook
        tier: frontend
    spec:
      # this replicas value is default
      # modify it according to your case
      replicas: 3
      selector:
        matchLabels:
          app: guestbook
          tier: frontend
      template:
        metadata:
          labels:
            app: guestbook
            tier: frontend
        spec:
          containers:
          - name: php-redis
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 19 16:19:12 UTC 2018
    - 929 bytes
    - Viewed (0)
  6. pkg/controller/deployment/util/deployment_util.go

    	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 {
    			requiredRSs = append(requiredRSs, rs)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  7. pkg/controller/deployment/rolling.go

    	if *(newRS.Spec.Replicas) == *(deployment.Spec.Replicas) {
    		// Scaling not required.
    		return false, nil
    	}
    	if *(newRS.Spec.Replicas) > *(deployment.Spec.Replicas) {
    		// Scale down.
    		scaled, _, err := dc.scaleReplicaSetAndRecordEvent(ctx, newRS, *(deployment.Spec.Replicas), deployment)
    		return scaled, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. pkg/controller/deployment/sync.go

    		allowedSize := int32(0)
    		if *(deployment.Spec.Replicas) > 0 {
    			allowedSize = *(deployment.Spec.Replicas) + deploymentutil.MaxSurge(*deployment)
    		}
    
    		// Number of additional replicas that can be either added or removed from the total
    		// replicas count. These replicas should be distributed proportionally to the active
    		// replica sets.
    		deploymentReplicasToAdd := allowedSize - allRSsReplicas
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

      }
      func.return
    }
    
    // CHECK: %[[REPLICA_0:.*]] = tf_executor.island
    // CHECK: %[[REPLICA_1:.*]] = tf_executor.island
    // CHECK: %[[SINK:.*]] = tf_executor.island(%[[REPLICA_0]], %[[REPLICA_1]])
    // CHECK: tf_executor.fetch %[[SINK]]
    
    
    // Tests unused replica are pinned to the graph fetch.
    // CHECK-LABEL: func @unused_replica
    func.func @unused_replica(%arg0: tensor<i1>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

          }
          for (auto& op : replica.GetBody()) {
            op.setAttr(TF::kParallelExecAnnotation,
                       builder.getStringAttr(group_annotation));
          }
        }
        replicas.push_back(replica);
      }
    
      return success();
    }
    
    // Creates islands per replica from `tf_device.replicate` region and remap
    // replicate results with new island outputs. A single island is created to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top