Skip to content

Commit

Permalink
fix: add tolerations to cloud-server and database pods so they aren't…
Browse files Browse the repository at this point in the history
… immediatly evicted from nodes that have resource taints.
  • Loading branch information
lots0logs committed Dec 15, 2022
1 parent d1cdbf2 commit da24f74
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/percona-xtradb-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.10.25
version: 1.10.26

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
7 changes: 7 additions & 0 deletions charts/percona-xtradb-cluster/templates/cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ spec:
gracePeriod: 600
containerSecurityContext:
privileged: true
tolerations:
- key: node.kubernetes.io/disk-pressure
operator: Exists
- key: node.kubernetes.io/memory-pressure
operator: Exists
- key: node.kubernetes.io/pid-pressure
operator: Exists
haproxy:
enabled: false
size: 3
Expand Down

0 comments on commit da24f74

Please sign in to comment.