- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 325 for MaxUnavailable (0.35 sec)
-
pkg/controller/deployment/util/deployment_util.go
if maxUnavailable > *deployment.Spec.Replicas { return *deployment.Spec.Replicas } return maxUnavailable } // MinAvailable returns the minimum available pods of a given deployment func MinAvailable(deployment *apps.Deployment) int32 { if !IsRollingUpdate(deployment) { return int32(0) } return *(deployment.Spec.Replicas) - MaxUnavailable(*deployment) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
pkg/apis/policy/zz_generated.deepcopy.go
**out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(v1.LabelSelector) (*in).DeepCopyInto(*out) } if in.MaxUnavailable != nil { in, out := &in.MaxUnavailable, &out.MaxUnavailable *out = new(intstr.IntOrString) **out = **in } if in.UnhealthyPodEvictionPolicy != nil { in, out := &in.UnhealthyPodEvictionPolicy, &out.UnhealthyPodEvictionPolicy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go
**out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(v1.LabelSelector) (*in).DeepCopyInto(*out) } if in.MaxUnavailable != nil { in, out := &in.MaxUnavailable, &out.MaxUnavailable *out = new(intstr.IntOrString) **out = **in } if in.UnhealthyPodEvictionPolicy != nil { in, out := &in.UnhealthyPodEvictionPolicy, &out.UnhealthyPodEvictionPolicy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1/zz_generated.deepcopy.go
func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { *out = *in if in.MaxUnavailable != nil { in, out := &in.MaxUnavailable, &out.MaxUnavailable *out = new(intstr.IntOrString) **out = **in } if in.MaxSurge != nil { in, out := &in.MaxSurge, &out.MaxSurge *out = new(intstr.IntOrString) **out = **in }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 15:48:00 UTC 2022 - 23.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.json
"matchExpressions": [ { "key": "keyValue", "operator": "operatorValue", "values": [ "valuesValue" ] } ] }, "maxUnavailable": "maxUnavailableValue", "unhealthyPodEvictionPolicy": "unhealthyPodEvictionPolicyValue" }, "status": { "observedGeneration": 1, "disruptedPods": { "disruptedPodsKey": null },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
unavailablePods++ } } if unavailablePods >= maxUnavailable { logger.V(2).Info("StatefulSet found unavailablePods, more than or equal to allowed maxUnavailable", "statefulSet", klog.KObj(set), "unavailablePods", unavailablePods, "maxUnavailable", maxUnavailable) return &status, nil } // Now we need to delete MaxUnavailable- unavailablePods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/strategy_test.go
} // Changing MinAvailable to MaxAvailable? OK maxUnavailable := intstr.FromString("28%") newPdb.Spec.MaxUnavailable = &maxUnavailable newPdb.Spec.MinAvailable = nil Strategy.PrepareForUpdate(ctx, newPdb, pdb) errs = Strategy.ValidateUpdate(ctx, newPdb, pdb) if len(errs) != 0 { t.Errorf("Expected no error updating replacing MinAvailable with MaxUnavailable on poddisruptionbudgets.") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19.2K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go
func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { *out = *in if in.MaxUnavailable != nil { in, out := &in.MaxUnavailable, &out.MaxUnavailable *out = new(intstr.IntOrString) **out = **in } if in.MaxSurge != nil { in, out := &in.MaxSurge, &out.MaxSurge *out = new(intstr.IntOrString) **out = **in }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 15:48:00 UTC 2022 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/policy.v1.PodDisruptionBudget.json
"matchExpressions": [ { "key": "keyValue", "operator": "operatorValue", "values": [ "valuesValue" ] } ] }, "maxUnavailable": "maxUnavailableValue", "unhealthyPodEvictionPolicy": "unhealthyPodEvictionPolicyValue" }, "status": { "observedGeneration": 1, "disruptedPods": { "disruptedPodsKey": null },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.yaml
blockOwnerDeletion: true controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: maxUnavailable: maxUnavailableValue minAvailable: minAvailableValue selector: matchExpressions: - key: keyValue operator: operatorValue values: - valuesValue matchLabels:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 1.5K bytes - Viewed (0)