Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 861 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/deployment/sync_test.go

    				rs := action.(testclient.UpdateAction).GetObject().(*apps.ReplicaSet)
    				if !test.wasntUpdated[rs.Name] {
    					nameToSize[rs.Name] = *(rs.Spec.Replicas)
    				}
    			}
    
    			if test.expectedNew != nil && test.newRS != nil && *(test.expectedNew.Spec.Replicas) != nameToSize[test.newRS.Name] {
    				t.Errorf("%s: expected new replicas: %d, got: %d", test.name, *(test.expectedNew.Spec.Replicas), nameToSize[test.newRS.Name])
    				return
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // the replica count to be deleted.
      optional string whenScaled = 2;
    }
    
    // A StatefulSetSpec is the specification of a StatefulSet.
    message StatefulSetSpec {
      // replicas is the desired number of replicas of the given Template.
      // These are replicas in the sense that they are instantiations of the
      // same Template, but individual replicas also have a consistent identity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inject/replicaset.yaml.injected

    apiVersion: apps/v1
    kind: ReplicaSet
    metadata:
      creationTimestamp: null
      name: hello
    spec:
      replicas: 7
      selector:
        matchLabels:
          app: hello
      template:
        metadata:
          annotations:
            istio.io/rev: default
            kubectl.kubernetes.io/default-container: hello
            kubectl.kubernetes.io/default-logs-container: hello
            prometheus.io/path: /stats/prometheus
            prometheus.io/port: "15020"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top