- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for minAvailable (0.2 sec)
-
pkg/apis/policy/validation/validation_test.go
"k8s.io/kubernetes/pkg/apis/policy" ) func TestValidatePodDisruptionBudgetSpec(t *testing.T) { minAvailable := intstr.FromString("0%") maxUnavailable := intstr.FromString("10%") spec := policy.PodDisruptionBudgetSpec{ MinAvailable: &minAvailable, MaxUnavailable: &maxUnavailable, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/storage/storage_test.go
if err != nil { t.Fatalf("failed to get pdb: %v", err) } obtainedPdb := obj.(*policy.PodDisruptionBudget) minAvailable := intstr.FromInt32(8) update := policy.PodDisruptionBudget{ ObjectMeta: obtainedPdb.ObjectMeta, Spec: policy.PodDisruptionBudgetSpec{ MinAvailable: &minAvailable, }, Status: policy.PodDisruptionBudgetStatus{ ExpectedPods: 8, }, }
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/apis/policy/validation/validation.go
allErrs := field.ErrorList{} if spec.MinAvailable != nil && spec.MaxUnavailable != nil { allErrs = append(allErrs, field.Invalid(fldPath, spec, "minAvailable and maxUnavailable cannot be both set")) } if spec.MinAvailable != nil { allErrs = append(allErrs, appsvalidation.ValidatePositiveIntOrPercent(*spec.MinAvailable, fldPath.Child("minAvailable"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/api/policy/v1/zz_generated.deepcopy.go
func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { *out = *in if in.MinAvailable != nil { in, out := &in.MinAvailable, &out.MinAvailable *out = new(intstr.IntOrString) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(metav1.LabelSelector)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 22:32:27 UTC 2022 - 5.4K bytes - Viewed (0) -
manifests/charts/gateway/values.yaml
# # To enable the PodDisruptionBudget, configure it by specifying the # `minAvailable` or `maxUnavailable`. For example, to set the # minimum number of available replicas to 1, you can update this value as follows: # # podDisruptionBudget: # minAvailable: 1 # # Or, to allow a maximum of 1 unavailable replica, you can set: # # podDisruptionBudget:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 16:51:35 UTC 2024 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "minAvailable": "minAvailableValue", "selector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2K bytes - Viewed (0) -
manifests/charts/gateways/istio-egress/templates/poddisruptionbudget.yaml
istio.io/rev: {{ .Values.revision | default "default" | quote }} install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }} operator.istio.io/component: "EgressGateways" spec: minAvailable: 1 selector: matchLabels: {{ $gateway.labels | toYaml | trim | indent 6 }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 18:16:49 UTC 2024 - 664 bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/templates/poddisruptionbudget.yaml
install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }} operator.istio.io/component: "Pilot" release: {{ .Release.Name }} istio: pilot spec: minAvailable: 1 selector: matchLabels: app: istiod {{- if ne .Values.revision "" }} istio.io/rev: {{ .Values.revision | quote }} {{- else }} istio: pilot {{- end }} ---
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 18:16:49 UTC 2024 - 749 bytes - Viewed (0) -
pkg/apis/policy/zz_generated.deepcopy.go
func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { *out = *in if in.MinAvailable != nil { in, out := &in.MinAvailable, &out.MinAvailable *out = new(intstr.IntOrString) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(v1.LabelSelector) (*in).DeepCopyInto(*out)
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
func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { *out = *in if in.MinAvailable != nil { in, out := &in.MinAvailable, &out.MinAvailable *out = new(intstr.IntOrString) **out = **in } if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(v1.LabelSelector) (*in).DeepCopyInto(*out)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 20:44:13 UTC 2023 - 5.4K bytes - Viewed (0)