Open Elbehery opened 4 months ago
@Elbehery: This pull request references ETCD-610 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
/assign @hasbro17 /assign @tjungblu /assign @dusk125 /assign @soltysh
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from hasbro17. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Also see this default I used to test the approach
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: etcd-backup-local-storage
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: Immediate
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: etcd-backup-pvc
namespace: openshift-etcd
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 10Gi
storageClassName: etcd-backup-local-storage
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: etcd-backup-pv-fs
spec:
capacity:
storage: 100Gi
volumeMode: Filesystem
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: etcd-backup-local-storage
local:
path: /mnt
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
---
apiVersion: operator.openshift.io/v1alpha1
kind: EtcdBackup
metadata:
name: etcd-single-backup
namespace: openshift-etcd
spec:
pvcName: etcd-backup-pvc
/label tide/merge-method-squash
Inactive enhancement proposals go stale after 28d of inactivity.
See https://github.com/openshift/enhancements#life-cycle for details.
Mark the proposal as fresh by commenting /remove-lifecycle stale
.
Stale proposals rot after an additional 7d of inactivity and eventually close.
Exclude this proposal from closing by commenting /lifecycle frozen
.
If this proposal is safe to close now please do so with /close
.
/lifecycle stale
/assign @hasbro17 ptal :)
Stale enhancement proposals rot after 7d of inactivity.
See https://github.com/openshift/enhancements#life-cycle for details.
Mark the proposal as fresh by commenting /remove-lifecycle rotten
.
Rotten proposals close after an additional 7d of inactivity.
Exclude this proposal from closing by commenting /lifecycle frozen
.
If this proposal is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
/lifecycle rotten /remove-lifecycle stale
Rotten enhancement proposals close after 7d of inactivity.
See https://github.com/openshift/enhancements#life-cycle for details.
Reopen the proposal by commenting /reopen
.
Mark the proposal as fresh by commenting /remove-lifecycle rotten
.
Exclude this proposal from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closed this PR.
/reopen
/remove-lifecycle rotten
@Elbehery: This pull request references ETCD-610 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.
@Elbehery: Reopened this PR.
I tested the proposal from @JoelSpeed here
You can find the outcome on comments
I actually think this is more convenient than a sidecar on static-pods, since the etcd pods availability is vital for the cluster stability. It is better to utilize an approach away from static pods.
@Elbehery: all tests passed!
Full PR test history. Your PR dashboard.
This PR add enhancement proposal for
Etcd Automated Backups No Config
.Resolves https://issues.redhat.com/browse/ETCD-610
cc @openshift/openshift-team-etcd