- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 78 for pdb1 (0.21 sec)
-
platforms/ide/problems-api/src/test/groovy/org/gradle/api/problems/internal/DefaultProblemDefinitionReport.groovy
when: def pd1 = createProblemDefinition() def pd2 = createProblemDefinition() then: pd1 == pd2 pd1 == pd1 } def "Changed label causes equal to be false"() { when: def pd1 = createProblemDefinition() def pd2 = createProblemDefinition("otherLabel") then: pd1 != pd2 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 13:35:05 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/storage/storage_test.go
t.Fatalf("unexpected error: %v", err) } pdb := obj.(*policy.PodDisruptionBudget) if pdb.Spec.MinAvailable.IntValue() != 7 { t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", pdb.Spec.MinAvailable) } if pdb.Status.ExpectedPods != 8 { t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, pdb.Status.ExpectedPods) } } func TestGet(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:45 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption_test.go
) type FakePostFilterPlugin struct { numViolatingVictim int } func (pl *FakePostFilterPlugin) SelectVictimsOnNode( ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo, pdbs []*policy.PodDisruptionBudget) (victims []*v1.Pod, numViolatingVictim int, status *framework.Status) { return append(victims, nodeInfo.Pods[0].Pod), pl.numViolatingVictim, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/client/tests/fake_client_test.go
} podB1, err := tc.CoreV1().Pods("nsB").Get(context.TODO(), "pod-1", metav1.GetOptions{}) if err != nil { t.Fatalf("Pods.Get nsB/pod-1: %s", err) } if podB1 == nil { t.Fatalf("Expected to find pod nsB/pod-1 but it wasn't found") } if podB1.Namespace != "nsB" || podB1.Name != "pod-1" { t.Fatalf("Expected to find pod nsB/pod-1t, got %s/%s", podB1.Namespace, podB1.Name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 08 17:30:21 UTC 2020 - 5.6K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
dc.getUpdater = func() updater { return dc.writePdbStatus } // Create a PDB and 3 pods that match it. pdb, pdbKey := newMinAvailablePodDisruptionBudget(t, intstr.FromInt32(1)) pdb, err := dc.coreClient.PolicyV1().PodDisruptionBudgets(pdb.Namespace).Create(ctx, pdb, metav1.CreateOptions{}) if err != nil { t.Fatalf("Failed to create PDB: %v", err) } podNames := []string{"moe", "larry", "curly"}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
staging/src/k8s.io/api/policy/v1beta1/types.go
// Healthy pods will be subject to the PDB for eviction. // // AlwaysAllow policy means that all running pods (status.phase="Running"), // but not yet healthy are considered disrupted and can be evicted regardless // of whether the criteria in a PDB is met. This means perspective running // pods of a disrupted application might not get a chance to become healthy. // Healthy pods will be subject to the PDB for eviction. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 11.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
// because we're okay with being a little over (in production, if a // non-PDB violating candidate isn't found close to the offset, the // number of additional candidates returned will be at most // approximately equal to the parallelism in dryRunPreemption). // cycle=0 => offset=4 => node5 (yes, pdb), node1 (yes, pdb), node2 (no, pdb), node3 (yes) candidate{ name: "node1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0) -
pkg/apis/policy/types.go
// Healthy pods will be subject to the PDB for eviction. // // AlwaysAllow policy means that all running pods (status.phase="Running"), // but not yet healthy are considered disrupted and can be evicted regardless // of whether the criteria in a PDB is met. This means perspective running // pods of a disrupted application might not get a chance to become healthy. // Healthy pods will be subject to the PDB for eviction. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 6.9K bytes - Viewed (0) -
tests/prepared_stmt_test.go
tx = tx.Create(&user) pdb, ok := tx.ConnPool.(*gorm.PreparedStmtDB) if !ok { t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode") } pdb.Mux.Lock() if len(pdb.Stmts) == 0 { pdb.Mux.Unlock() t.Fatalf("prepared stmt can not be empty") } pdb.Mux.Unlock() pdb.Reset() pdb.Mux.Lock() defer pdb.Mux.Unlock() if len(pdb.Stmts) != 0 {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 07:55:43 UTC 2024 - 4K bytes - Viewed (0) -
test/assign1.go
pa1 = pa // ERROR "cannot use|incompatible" pb0 = pb // ERROR "cannot use|incompatible" pb0 = pb1 // ERROR "cannot use|incompatible" pb = pb0 // ERROR "cannot use|incompatible" pb = pb1 // ERROR "cannot use|incompatible" pb1 = pb0 // ERROR "cannot use|incompatible" pb1 = pb // ERROR "cannot use|incompatible" pc0 = pc // ERROR "cannot use|incompatible" pc0 = pc1 // ERROR "cannot use|incompatible"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 5.6K bytes - Viewed (0)