Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 91 for expectedIds (0.17 sec)

  1. common-protos/k8s.io/api/policy/v1/generated.proto

      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
      // Conditions contain conditions for PDB. The disruption controller sets the
      // DisruptionAllowed condition. The following are known values for the reason field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/istio-agent/agent_test.go

    		sds.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{res}})
    		sdsStreams[res] = sds
    		gotKeys = append(gotKeys, res)
    	}
    	if !reflect.DeepEqual(expectedSDS, gotKeys) {
    		t.Errorf("expected SDS resources %v got %v", expectedSDS, gotKeys)
    	}
    	return sdsStreams
    }
    
    func copyCerts(t *testing.T, dir string) {
    	if err := os.MkdirAll(dir, 0o755); err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/policy/v1beta1/generated.proto

      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
      // Conditions contain conditions for PDB. The disruption controller sets the
      // DisruptionAllowed condition. The following are known values for the reason field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/controller/disruption/disruption_test.go

    		DisruptionsAllowed: disruptionsAllowed,
    		CurrentHealthy:     currentHealthy,
    		DesiredHealthy:     desiredHealthy,
    		ExpectedPods:       expectedPods,
    		DisruptedPods:      disruptedPodMap,
    		ObservedGeneration: actualPDB.Generation,
    	}
    	actualStatus := actualPDB.Status
    	if diff := cmp.Diff(expectedStatus, actualStatus, cmpopts.EquateEmpty()); diff != "" {
    		t.Fatalf("PDB %q status mismatch (-want,+got):\n%s", key, diff)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	totalNum := 10
    	expectedPods := make([]v1.Pod, 0, totalNum)
    	for i := 0; i < totalNum; i++ {
    		priority := int32(i)
    		p := st.MakePod().Name(fmt.Sprintf("pod%d", i)).Namespace(fmt.Sprintf("ns%d", i)).UID(fmt.Sprintf("upns%d", i)).Priority(priority).Obj()
    		expectedPods = append(expectedPods, *p)
    		// priority is to make pods ordered in the PriorityQueue
    		q.Add(logger, p)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    func (m *headerMatcher) inspect(t *testing.T, w http.ResponseWriter, expectedFS, expectedPL string) {
    	t.Helper()
    	err := func() error {
    		if w == nil {
    			return fmt.Errorf("expected a non nil HTTP response")
    		}
    
    		key := flowcontrol.ResponseHeaderMatchedFlowSchemaUID
    		if value := w.Header().Get(key); expectedFS != value {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    			}
    			continue
    		}
    
    		resultPod := resultObj.(*example.Pod)
    
    		// roundtrip to get defaulting
    		expectedJS, err := runtime.Encode(codec, tc.expectedPod)
    		if err != nil {
    			t.Errorf("%s: unexpected error: %v", tc.name, err)
    			continue
    		}
    		expectedObj, err := runtime.Decode(codec, expectedJS)
    		if err != nil {
    			t.Errorf("%s: unexpected error: %v", tc.name, err)
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("PASSED", pom.getValue("properties[1]/property"));
        }
    
        /*MNG-7750*/
        private void checkBuildPluginWithArtifactId(
                List<Plugin> plugins, String artifactId, String expectedId, String expectedConfig) {
            Plugin plugin = plugins.stream()
                    .filter(p -> p.getArtifactId().equals(artifactId))
                    .findFirst()
                    .orElse(null);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  9. pkg/controller/disruption/disruption.go

    	if expectedCount <= 0 || disruptionsAllowed <= 0 {
    		disruptionsAllowed = 0
    	}
    
    	if pdb.Status.CurrentHealthy == currentHealthy &&
    		pdb.Status.DesiredHealthy == desiredHealthy &&
    		pdb.Status.ExpectedPods == expectedCount &&
    		pdb.Status.DisruptionsAllowed == disruptionsAllowed &&
    		apiequality.Semantic.DeepEqual(pdb.Status.DisruptedPods, disruptedPods) &&
    		pdb.Status.ObservedGeneration == pdb.Generation &&
    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. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      optional int32 currentHealthy = 4;
    
      // minimum desired number of healthy pods
      optional int32 desiredHealthy = 5;
    
      // total number of pods counted by this disruption budget
      optional int32 expectedPods = 6;
    
      // Conditions contain conditions for PDB. The disruption controller sets the
      // DisruptionAllowed condition. The following are known values for the reason field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top