Skip to content

Commit ca71755

Browse files
committedSep 20, 2022
#97: batch/v1beta1 Cronjob is deprecated in Kubernetes version 1.25. #131: Upgrade Kubegres to use the framework Kubebuilder 3.6.0
1 parent 7d751fe commit ca71755

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2368
-1192
lines changed
 

‎.dockerignore

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
2-
# Ignore all files which are not go type
3-
!**/*.go
4-
!**/*.mod
5-
!**/*.sum
2+
# Ignore build and test binaries.
3+
bin/
4+
testbin/

‎Backlog

+16-25
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,36 @@
1-
2-
- Scheduled for December 2021:
3-
- update local kind & kubectl
4-
- Build controller with Kubebuilder v3.2.0
5-
- Remove warning for CronJob which was updated from beta to stable since Kubernetes 1.21
1+
Features in order of priority:
62

73
- add a test in spec_readinessProbe_test and spec_livenessProbe_test so that
84
we test the default behaviour when no option is set from the YAML
95

10-
- Scheduled for either December 2021 or Jan 2022:
11-
- #20 : Delete PVC
6+
- #20 : Delete PVC
127

13-
- Scheduled for May 2022:
14-
- #12 : Reuse PVC (see below) and Primary becomes a Replica
8+
- #12 : Reuse PVC (see below) and Primary becomes a Replica
159

1610
As part of the available options for the field "failover.pvc", there would be:
1711
- "retain": the default option currently with Kubegres where PVC are kept but not reused for safety and investigation reasons
1812
- "delete": the PVC will be deleted
1913
- "reuse": if the state of the PVC is healthy, it will be reused by the newly created Replica pod. I think that matches with your suggestion?
2014

21-
- Scheduled for June 2022:
22-
- #?: PG bouncer
15+
- #30: Add one or many sidecar container options in Kubegres YAML
16+
17+
- #?: PG bouncer
18+
19+
- #51: add documentation about how to recover backup
20+
- add use cases documentation, for example how to expand storage manually and how to upgrade Postgres major version.
21+
- check how to setup log archiving in case of replica does not found a data
2322

24-
- Scheduled for July 2022:
25-
- #51: add documentation about how to recover backup
26-
- add use cases documentation, for example how to expand storage manually and how to upgrade Postgres major version.
27-
- check how to setup log archiving in case of replica does not found a data
23+
- #46: Define Service Type for Primary and Replica
2824

29-
- Scheduled for August 2022:
30-
- #46: Define Service Type for Primary and Replica
25+
- #7 : Allow major version upgrade using pg_upgrade
3126

32-
- Scheduled for September 2022:
33-
- #7 : Allow major version upgrade using pg_upgrade
27+
- #35 : Restore database from a PV backup
3428

35-
- Scheduled for October 2022:
36-
- #35 : Restore database from a PV backup
29+
- #82 : Allow using a unique image for the backup job
3730

38-
- Scheduled for November 2022:
39-
- #10 : Deploy Kubegres with a HELM chart
31+
- #10 : Deploy Kubegres with a HELM chart
4032

41-
- Scheduled for December 2022:
42-
- #? : Add a field to allow restarting StatefulSets and Pods via the YAML of "Kind: Kubegres"?
33+
- #? : Add a field to allow restarting StatefulSets and Pods via the YAML of "Kind: Kubegres"?
4334

4435
Blocked:
4536
#49 : Expand Storage (waiting on the Kubernetes feature: https://github.com/kubernetes/enhancements/pull/2842)

0 commit comments

Comments
 (0)
Please sign in to comment.