Doc changes.

This commit is contained in:
Jan Mußler 2021-01-20 13:09:07 +01:00
parent f308260d24
commit 0a7965cc82
3 changed files with 5 additions and 3 deletions

View File

@ -375,7 +375,9 @@ configuration they are grouped under the `kubernetes` key.
* **storage_resize_mode**
defines how operator handels the difference between requested volume size and
actual size. Available options are: ebs - tries to resize EBS volume, pvc -
changes PVC definition, off - disables resize of the volumes. Default is "pvc".
changes PVC definition, off - disables resize of the volumes. And "mixed" mode.
Where mixed mode is needed to support AWS EBS gp3 volumes, to adjust IOPS and Throughput.
It relies on pvc resize to deal with file system extension. Default is "pvc".
When using OpenShift please use one of the other available options.
## Kubernetes resource requests

2
go.mod
View File

@ -3,7 +3,7 @@ module github.com/zalando/postgres-operator
go 1.15
require (
github.com/aws/aws-sdk-go v1.36.23
github.com/aws/aws-sdk-go v1.36.29
github.com/golang/mock v1.4.4
github.com/lib/pq v1.9.0
github.com/motomux/pretty v0.0.0-20161209205251-b2aad2c9a95d

View File

@ -30,7 +30,7 @@ func (c *Cluster) syncVolumes() error {
}
if c.OpConfig.StorageResizeMode == "mixed" {
// mixed op uses AWS API to adjust size,throughput,iops and calls pvc chance for file system resize
// mixed op uses AWS API to adjust size, throughput, iops, and calls pvc change for file system resize
// in case of errors we proceed to let K8s do its work, favoring disk space increase of other adjustments
err = c.populateVolumeMetaData()