Doc changes.
This commit is contained in:
		
							parent
							
								
									f308260d24
								
							
						
					
					
						commit
						0a7965cc82
					
				| 
						 | 
					@ -375,7 +375,9 @@ configuration they are grouped under the `kubernetes` key.
 | 
				
			||||||
* **storage_resize_mode**
 | 
					* **storage_resize_mode**
 | 
				
			||||||
  defines how operator handels the difference between requested volume size and
 | 
					  defines how operator handels the difference between requested volume size and
 | 
				
			||||||
  actual size. Available options are: ebs - tries to resize EBS volume, pvc -
 | 
					  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.
 | 
					  When using OpenShift please use one of the other available options.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Kubernetes resource requests
 | 
					## Kubernetes resource requests
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								go.mod
								
								
								
								
							
							
						
						
									
										2
									
								
								go.mod
								
								
								
								
							| 
						 | 
					@ -3,7 +3,7 @@ module github.com/zalando/postgres-operator
 | 
				
			||||||
go 1.15
 | 
					go 1.15
 | 
				
			||||||
 | 
					
 | 
				
			||||||
require (
 | 
					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/golang/mock v1.4.4
 | 
				
			||||||
	github.com/lib/pq v1.9.0
 | 
						github.com/lib/pq v1.9.0
 | 
				
			||||||
	github.com/motomux/pretty v0.0.0-20161209205251-b2aad2c9a95d
 | 
						github.com/motomux/pretty v0.0.0-20161209205251-b2aad2c9a95d
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -30,7 +30,7 @@ func (c *Cluster) syncVolumes() error {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if c.OpConfig.StorageResizeMode == "mixed" {
 | 
						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
 | 
							// in case of errors we proceed to let K8s do its work, favoring disk space increase of other adjustments
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		err = c.populateVolumeMetaData()
 | 
							err = c.populateVolumeMetaData()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue