From 0a7965cc8295b54f26ba817fd6049f69b38bb16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mu=C3=9Fler?= Date: Wed, 20 Jan 2021 13:09:07 +0100 Subject: [PATCH] Doc changes. --- docs/reference/operator_parameters.md | 4 +++- go.mod | 2 +- pkg/cluster/volumes.go | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/reference/operator_parameters.md b/docs/reference/operator_parameters.md index 212515dc1..b6ade77cc 100644 --- a/docs/reference/operator_parameters.md +++ b/docs/reference/operator_parameters.md @@ -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 diff --git a/go.mod b/go.mod index 965742d5d..bbe5140b7 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/pkg/cluster/volumes.go b/pkg/cluster/volumes.go index 4ab791013..8d51e46f3 100644 --- a/pkg/cluster/volumes.go +++ b/pkg/cluster/volumes.go @@ -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()