Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Replicas (0.21 sec)

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

    		replicas:          3,
    		readyReplicas:     3,
    		currentReplicas:   2,
    		availableReplicas: int32(-1),
    		expectedErr:       true,
    	}, {
    		name:              "invalid: available replicas greater than replicas",
    		replicas:          3,
    		readyReplicas:     3,
    		currentReplicas:   2,
    		availableReplicas: int32(4),
    		expectedErr:       true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control_test.go

    				}
    			}
    		}
    
    		replicas := *set.Spec.Replicas
    		*set.Spec.Replicas = 0
    		if err := scaleDownStatefulSetControl(set, ssc, om, test.invariants); err != nil {
    			t.Fatalf("%s: %s", test.name, err)
    		}
    		set, err = om.setsLister.StatefulSets(set.Namespace).Get(set.Name)
    		if err != nil {
    			t.Fatalf("%s: %s", test.name, err)
    		}
    		*set.Spec.Replicas = replicas
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal_test.go

    				DesiredReplicas:   tc.prenormalizedDesiredReplicas,
    				CurrentReplicas:   tc.currentReplicas,
    			}
    
    			replicas, condition, _ := hc.convertDesiredReplicasWithBehaviorRate(arg)
    			assert.Equal(t, tc.expectedReplicas, replicas, "expected replicas do not match with converted replicas")
    			assert.Equal(t, tc.expectedCondition, condition, "HPA condition does not match with expected condition")
    		})
    	}
    
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    		},
    		// Basic print replication controller with replicas; does not print containers or labels
    		{
    			rc: api.ReplicationController{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "rc1",
    					Namespace: "test-namespace",
    				},
    				Spec: api.ReplicationControllerSpec{
    					Replicas: 5,
    					Selector: map[string]string{"a": "b"},
    					Template: &api.PodTemplateSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers.go

    		{Name: "Desired", Type: "integer", Description: apiv1.ReplicationControllerSpec{}.SwaggerDoc()["replicas"]},
    		{Name: "Current", Type: "integer", Description: apiv1.ReplicationControllerStatus{}.SwaggerDoc()["replicas"]},
    		{Name: "Ready", Type: "integer", Description: apiv1.ReplicationControllerStatus{}.SwaggerDoc()["readyReplicas"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  6. cluster/gce/util.sh

      fi
      set -e
    }
    
    # Prints name of one of the master replicas in the current zone. It will be either
    # just MASTER_NAME or MASTER_NAME with a suffix for a replica (see get-replica-name-regexp).
    #
    # Assumed vars:
    #   PROJECT
    #   ZONE
    #   MASTER_NAME
    #
    # NOTE: Must be in sync with get-replica-name-regexp and set-replica-name.
    function get-replica-name() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation_test.go

    						Expression: "variables.foo > 1", // correct
    					},
    					{
    						Expression: "variables.replicas == 2", // replicas undefined
    					},
    				},
    			},
    		},
    		expectedError: `spec.validations[1].expression: Invalid value: "variables.replicas == 2": compilation failed: ERROR: <input>:1:10: undefined field 'replicas'`,
    	}, {
    		name: "variables wrong order",
    		config: &admissionregistration.ValidatingAdmissionPolicy{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        to such variables for each replica are redundant and can be replaced by writing
        a single value from first replica.
    
        The benefit of this optimization is reduced memory requirement on host. For
        multiple writes (one from each replica) to such variables, the host would
        allocate buffer space to receive the device output from all replicas, which is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec) {
    	*out = *in
    	if in.Replicas != nil {
    		in, out := &in.Replicas, &out.Replicas
    		*out = new(int32)
    		**out = **in
    	}
    	if in.Selector != nil {
    		in, out := &in.Selector, &out.Selector
    		*out = make(map[string]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0", "/job:worker/replica:0/task:0/device:TPU:1", "/job:worker/replica:0/task:0/device:TPU:2", "/job:worker/replica:0/task:0/device:TPU:3", "/job:worker/replica:0/task:0/device:TPU:4", "/job:worker/replica:0/task:0/device:TPU:5", "/job:worker/replica:0/task:0/device:TPU:6", "/job:worker/replica:0/task:0/device:TPU:7"]}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top