-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from vshn/pg-docs
Document behaviour limitations of PostgreSQL on Exoscale
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
docs/modules/ROOT/pages/explanations/dbaas-postgresql.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
= DBaaS: PostgreSQL | ||
|
||
== Immutable Fields | ||
|
||
After an instance has been created in Exoscale, certain restrictions apply to the following properties: | ||
|
||
`spec.forProvider.zone`:: | ||
Changing the Zone/Datacenter doesn't automatically move an instance, thus this field has been made immutable via admission webhook. | ||
|
||
`spec.forProvider.version`:: | ||
This field is basically only there to set the initial version upon first creation. | ||
After provisioning, this field becomes effectively unused and the observed version is incremented according to the maintenance policy and available updates. | ||
This field only accepts a change if it's set to the exact same version as the observed version, for every other value it's immutable. | ||
+ | ||
NOTE: The behaviour of this field might change in a future release. | ||
|
||
== Long Delays When Updating Instances | ||
|
||
When a change to the spec is made, the provider attempts to update the instance via Exoscale API. | ||
Even if updating the instance is successful, it can take a few seconds until the `Ready` condition becomes false with reason `Rebuilding`. | ||
This is most likely due to the provider observing the resource on Exoscale API again, before Exoscale actually sets the instance status to `Rebuilding`. | ||
|
||
NOTE: Depending on the change, the rebuilding can take a few minutes. | ||
|
||
Also, after the instance is rebuilt on Exoscale, there can be an additional delay until the status is updated. | ||
The current reconcile interval for the PostgreSQL resources is once per minute. | ||
|
||
TIP: Scripts and other automations that change the spec and await updated status should expect delays of 2 minutes or more before potentially reporting an error or timeout. |