- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for minAvailable (0.37 sec)
-
staging/src/k8s.io/api/policy/v1/generated.pb.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 45.1K bytes - Viewed (0) -
staging/src/k8s.io/api/policy/v1beta1/generated.pb.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 45.2K bytes - Viewed (0) -
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)