-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Feature Request
Describe the Feature Request
Operator could enable day-2 workflows declaratively.
Some of the issues are called out in the docs with [1] but they seem to be fairly limited. I have been using CrunchyData's postgres operator, and looked into CloudNativePG operator as well, and they offer a pretty good blueprint of what could work.
- Backups. Following the example from crunchydata, backup section could take a secret for S3 credentials, frequency of how often to take a full back up and an incremental backup, and other configuration for PITR
backups:
pgbackrest:
configuration:
- secret:
name: pgo-gcs-creds
image: registry.developers.crunchydata.com/crunchydata/crunchy-pgbackrest:ubi8-2.47-0
manual:
options:
- --type=full
repoName: repo1
repos:
- name: repo1
s3:
bucket: <BUCKET>
endpoint: <ENDPOINT>
region: <REGION>
schedules:
full: 0 7 */2 * *
-
Storage size increase
Crunchy allows for increasing # of replicas and storage size for each of the instances. Based on YDB docs, it's not possible to update the manifest and apply changes. I have not tested if manually increasing PersistentVolumeClaim size works, but doing this at manifest would be idea. -
Affinity
I believe operator supports node affinity / through the CRD, but it's not called in documentation, so one has to check the CRD definition. An example would probably also suffice. -
Users/Databases
This is not a strict must, and Database is a separate CRD object, so it may be moot somewhat, but crunchy encapsulates database and users in same CRD. -
Similar to (4), Crunchy encapsulates monitoring (exporter) and administraive UI (pgadmin) in a single CRD object, could work better.
Describe Preferred Solution
More capable CRD would help. CLI is fine, but hard with devops.
If the feature request is approved, would you be willing to submit a PR?
No. Not sure i know the tool enough to build the operator on it.