- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for pdb1 (0.05 sec)
-
pkg/printers/internalversion/printers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction.go
if pdb.Status.ObservedGeneration < pdb.Generation { return createTooManyRequestsError(pdb.Name) } if pdb.Status.DisruptionsAllowed < 0 { return errors.NewForbidden(policy.Resource("poddisruptionbudget"), pdb.Name, fmt.Errorf("pdb disruptions allowed is negative")) } if len(pdb.Status.DisruptedPods) > MaxDisruptedPodSize {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 11:58:48 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction_test.go
testcases := []struct { name string pdbs []runtime.Object policies []*policyv1.UnhealthyPodEvictionPolicyType eviction *policy.Eviction badNameInURL bool expectError string expectDeleted bool podPhase api.PodPhase podName string }{ { name: "matching pdbs with no disruptions allowed, pod running", pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 09:26:37 UTC 2024 - 40K bytes - Viewed (0) -
releasenotes/notes/update-pdb-version.yaml
apiVersion: release-notes/v2 kind: feature area: installation issue: - 32005 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 09 21:42:52 UTC 2022 - 134 bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go
pdbsAllowed := make([]int32, len(pdbs)) for i, pdb := range pdbs { pdbsAllowed[i] = pdb.Status.DisruptionsAllowed } for _, podInfo := range podInfos { pod := podInfo.Pod pdbForPodIsViolated := false // A pod with no labels will not match any PDB. So, no need to check. if len(pod.Labels) != 0 { for i, pdb := range pdbs { if pdb.Namespace != pod.Namespace { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 25 19:36:04 UTC 2023 - 12.7K bytes - Viewed (0) -
pkg/controller/disruption/disruption.go
pdb := dc.getPdbForPod(logger, pod) if pdb == nil { logger.V(4).Info("No matching PDB for pod", "pod", klog.KObj(pod)) return } logger.V(4).Info("DeletePod -> PDB", "pod", klog.KObj(pod), "podDisruptionBudget", klog.KObj(pdb)) dc.enqueuePdb(logger, pdb) } func (dc *DisruptionController) enqueuePdb(logger klog.Logger, pdb *policy.PodDisruptionBudget) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 36.1K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption.go
// candidates, ones that do not violate PDB are preferred over ones that do. // NOTE: This method is exported for easier testing in default preemption. func (ev *Evaluator) DryRunPreemption(ctx context.Context, pod *v1.Pod, potentialNodes []*framework.NodeInfo, pdbs []*policy.PodDisruptionBudget, offset int32, numCandidates int32) ([]Candidate, framework.NodeToStatusMap, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 25.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/phiopt.go
if sdom.IsAncestorEq(sb1, pb1) { convertPhi(pb0, v, ei) break } } else if pb1.Kind == BlockIf && pb1 == sdom.Parent(b) { // special case: pb1 is the dominator block b0. // b0(pb1) // / | // sb0 | // ... | // pb0 | // \ | // b // if another successor sb0 of b0(pb0) dominates pb0, do replace. ei := b.Preds[1].i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 8.1K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/strategy_test.go
}, } Strategy.PrepareForCreate(ctx, pdb) errs := Strategy.Validate(ctx, pdb) if len(errs) != 0 { if !tc.expectedValidationErr { t.Errorf("Unexpected error validating %v", errs) } return // no point going further when we have invalid PDB } if len(errs) == 0 && tc.expectedValidationErr { t.Errorf("Expected error validating") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/PublicationsCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.5K bytes - Viewed (0)