-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
incluster kubeapiserver disruption: run at most 2 monitor replicas
No need to fill the cluster with 6 replicas, its sufficient to run 2 to have kube-apiserver checked on worker upgrade
- Loading branch information
Showing
3 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
pkg/monitortests/kubeapiserver/disruptioninclusterapiserver/manifests/pdb-internal-lb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: internal-lb | ||
spec: | ||
maxUnavailable: 1 | ||
unhealthyPodEvictionPolicy: AlwaysAllow | ||
selector: | ||
matchLabels: | ||
app: internal-lb-monitor | ||
apiserver.openshift.io/disruption-actor: poller |
11 changes: 11 additions & 0 deletions
11
...onitortests/kubeapiserver/disruptioninclusterapiserver/manifests/pdb-service-network.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: service-network | ||
spec: | ||
maxUnavailable: 1 | ||
unhealthyPodEvictionPolicy: AlwaysAllow | ||
selector: | ||
matchLabels: | ||
app: service-network-monitor | ||
apiserver.openshift.io/disruption-actor: poller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters