Change the plan
Change service.plan in the claim’s values to resize the instance.
The number in the plan is gibibytes of memory, and cpu follows it at 250 millicores per gibibyte.
Requests are set equal to the limits, so the pod is Guaranteed.
| Plan | Cpu | Memory |
|---|---|---|
|
250m |
1Gi |
|
500m |
2Gi |
|
1000m |
4Gi |
|
2000m |
8Gi |
|
4000m |
16Gi |
service.replicas takes 1, 3, 5 or 7.
More than one replica runs a Galera cluster.
A change creates a new revision of the claim; with approval.strategy: Manual it waits for an approval first.
mariadb-operator then rolls the pods one at a time, replicas first and the primary last, so a Galera cluster stays available while it changes.
A single replica restarts, and is unavailable for the time that takes.