Documentation
¶
Overview ¶
Package majorupgrade provides the logic for upgrading a PostgreSQL cluster to a new major version.
The upgrade process consists of the following steps:
- Delete all Pods in the cluster.
- Create and initiate the major upgrade job.
- Wait for the job to complete.
- If the upgrade job completes successfully, start new Pods for the upgraded version. Otherwise, stop and wait for input by the user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIncoherentMajorUpgradeJob = fmt.Errorf("major upgrade job is missing the target image")
ErrIncoherentMajorUpgradeJob is raised when the major upgrade job is missing the target image
View Source
var ErrNoPrimaryPVCFound = fmt.Errorf("no primary PVC found")
ErrNoPrimaryPVCFound is raised when the list of PVCs doesn't include any primary instance.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.