- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 65 for minAvailable (0.21 sec)
-
common-protos/k8s.io/api/policy/v1beta1/generated.proto
message PodDisruptionBudgetSpec { // An eviction is allowed if at least "minAvailable" pods selected by // "selector" will still be available after the eviction, i.e. even in the // absence of the evicted pod. So for example you can prevent all voluntary // evictions by specifying "100%". // +optional optional k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util_test.go
deployment: deployment(5, intstr.FromString("100%")), expected: 0, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if got := MinAvailable(tt.deployment); got != tt.expected { t.Errorf("MinAvailable() = %v, want %v", got, tt.expected) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 37.1K bytes - Viewed (0) -
pkg/controller/disruption/disruption_test.go
Name: "foobar", Namespace: metav1.NamespaceDefault, ResourceVersion: "18", }, Spec: policy.PodDisruptionBudgetSpec{ MinAvailable: &minAvailable, Selector: newSelFooBar(), }, } pdbName, err := controller.KeyFunc(pdb) if err != nil { t.Fatalf("Unexpected error naming pdb %q: %v", pdb.Name, err) } return pdb, pdbName }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 50K bytes - Viewed (0) -
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/printers/internalversion/printers.go
row := metav1.TableRow{ Object: runtime.RawExtension{Object: obj}, } var minAvailable string var maxUnavailable string if obj.Spec.MinAvailable != nil { minAvailable = obj.Spec.MinAvailable.String() } else { minAvailable = "N/A" } if obj.Spec.MaxUnavailable != nil { maxUnavailable = obj.Spec.MaxUnavailable.String() } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/values.yaml
# ensure Istio control plane components are gradually upgraded or recovered. defaultPodDisruptionBudget: enabled: true # The values aren't mutable due to a current PodDisruptionBudget limitation # minAvailable: 1 # A minimal set of requested resources to applied to all deployments so that # Horizontal Pod Autoscaler will be able to function (if set).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 21.1K bytes - Viewed (0) -
manifests/charts/istiod-remote/values.yaml
# ensure Istio control plane components are gradually upgraded or recovered. defaultPodDisruptionBudget: enabled: true # The values aren't mutable due to a current PodDisruptionBudget limitation # minAvailable: 1 # A minimal set of requested resources to applied to all deployments so that # Horizontal Pod Autoscaler will be able to function (if set).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 21K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
Namespace: "ns1", Name: "pdb1", CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)}, }, Spec: policy.PodDisruptionBudgetSpec{ MinAvailable: &minAvailable, }, Status: policy.PodDisruptionBudgetStatus{ DisruptionsAllowed: 5, }, }, // Columns: Name, Min Available, Max Available, Allowed Disruptions, Age
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
tests/integration/pilot/testdata/upgrade/1.6.11-install.yaml.tar
DoesNotExist - key: istio.io/rev operator: In values: - 1-6-11 --- apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: istiod-1-6-11 namespace: istio-system labels: app: istiod istio.io/rev: 1-6-11 release: istio istio: pilot spec: minAvailable: 1 selector: matchLabels: app: istiod istio.io/rev: 1-6-11 --- apiVersion: v1 kind: Service metadata: name: istiod-1-6-11 namespace: istio-system labels: istio.io/rev: 1-6-11 app: istiod istio: pilot release: istio spec: ports: - port: 15010 name:...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 13 16:06:08 UTC 2021 - 50K bytes - Viewed (0) -
tests/integration/pilot/testdata/upgrade/1.7.6-install.yaml.tar
name: inject - configMap: name: istio-1-7-6 name: config-volume --- apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: istiod-1-7-6 namespace: istio-system labels: app: istiod istio.io/rev: 1-7-6 release: istio istio: pilot spec: minAvailable: 1 selector: matchLabels: app: istiod istio.io/rev: 1-7-6 --- apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutosca metadata: name: istiod-1-7-6 namespace: istio-system labels: app: istiod release: istio istio.io/rev: 1-7-6 spec: maxReplicas:...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 13 16:06:08 UTC 2021 - 60K bytes - Viewed (0)