-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ETCD-681: Add etcd-backup-server container within separate daemonset #1354
base: master
Are you sure you want to change the base?
Conversation
@Elbehery: This pull request references ETCD-681 which is a valid jira issue. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/hold still WIP |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Elbehery The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0d1d456
to
7a70831
Compare
pkg/operator/periodicbackupcontroller/periodicbackupcontroller.go
Outdated
Show resolved
Hide resolved
7a70831
to
99f31b8
Compare
/label tide/merge-method-squash |
125c590
to
3b86c6a
Compare
/retest-required |
d5e259b
to
d874214
Compare
/retest-required |
cb84961
to
4d33aa7
Compare
Tested with this PR atop of CR used
backups are being taken on each master node backup-server-daemon-set-nzx9p
pod/backup-server-daemon-set-f65np
pod/backup-server-daemon-set-cbmvm
|
During testing, I had issues with creating the correct Therefore, has chosen to use the manifest used for testing
Also all these ENVs are not needed, just the init-container is enough |
/test unit |
Result of test final test CR Used
Result from
Comment
oc describe pod/backup-server-daemon-set-555xg -n openshift-etcd
oc describe pod/backup-server-daemon-set-85ptk -n openshift-etcd
oc describe pod/backup-server-daemon-set-mcbqc -n openshift-etcd
|
oc rsh -n openshift-etcd pod/backup-server-daemon-set-555xg
oc rsh -n openshift-etcd pod/backup-server-daemon-set-85ptk
oc rsh -n openshift-etcd pod/backup-server-daemon-set-mcbqc
|
f6ef487
to
011991c
Compare
/retest-required |
2 similar comments
/retest-required |
/retest-required |
0e4093a
to
7706a91
Compare
/retest-required |
1 similar comment
/retest-required |
7706a91
to
3f289fc
Compare
/retest-required |
5403ca0
to
62d9bb5
Compare
62d9bb5
to
ac9675c
Compare
/retest-required |
1 similar comment
/retest-required |
pkg/operator/periodicbackupcontroller/periodicbackupcontroller.go
Outdated
Show resolved
Hide resolved
pkg/operator/periodicbackupcontroller/periodicbackupcontroller.go
Outdated
Show resolved
Hide resolved
pkg/operator/periodicbackupcontroller/periodicbackupcontroller.go
Outdated
Show resolved
Hide resolved
pkg/operator/periodicbackupcontroller/periodicbackupcontroller.go
Outdated
Show resolved
Hide resolved
@@ -121,38 +161,14 @@ func (c *PeriodicBackupController) sync(ctx context.Context, _ factory.SyncConte | |||
} | |||
} | |||
|
|||
if defaultFound { | |||
mirrorPods, err := c.podLister.List(labels.Set{"app": "etcd"}.AsSelector()) | |||
if !defaultFound { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need if !defaultFound
here? When default DS is found we do continue
, so any DS reaching this if
is not default anyway
pkg/operator/periodicbackupcontroller/periodicbackupcontroller.go
Outdated
Show resolved
Hide resolved
/assign @wking |
25bb204
to
1f1b1a7
Compare
/retest-required |
@Elbehery: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
resolves https://issues.redhat.com/browse/ETCD-681