Skip to content
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

Issues with ETCD-backup-Policy #199

Open
ch-stark opened this issue Dec 8, 2021 · 6 comments
Open

Issues with ETCD-backup-Policy #199

ch-stark opened this issue Dec 8, 2021 · 6 comments

Comments

@ch-stark
Copy link
Contributor

ch-stark commented Dec 8, 2021

Issues have been reported, policy will be reviewed, tested and updated

@gparvin
Copy link
Member

gparvin commented Dec 8, 2021

@ch-stark I did not have the reported problem with the commands being re-ordered using our 2.4.1. build. I'm not sure yet if the policy functions as expected. I did have to make some additional edits:

  1. The ClusterRoleBinding points to a service account and the namespace for that service account was needed.
  2. Some of the policy that I copied and pasted ended up missing. It was the volumes for the job. Keep an eye out to see if you see that too.

@ch-stark
Copy link
Contributor Author

ch-stark commented Dec 9, 2021

Working on a simpler policy

@ch-stark
Copy link
Contributor Author

@gparvin
Copy link
Member

gparvin commented Mar 9, 2022

I tried getting this working and never made good progress. I suspect we would need to decide if we can have someone focus on fixing this policy.

@gparvin
Copy link
Member

gparvin commented Sep 16, 2022

Today Christian let me know that the policy linked in comment https://github.com/stolostron/policy-collection/issues/199#issuecomment-1021229256 was a good solution -- tried by someone that gave good feedback. It does involve a custom image that needs to be created that goes along with the policy. So need to decide if we want that to be created under stolostron.

@gparvin
Copy link
Member

gparvin commented Jan 23, 2024

The nice solution here is currently Tech Preview: https://access.redhat.com/documentation/en-us/openshift_container_platform/4.14/html/backup_and_restore/control-plane-backup-and-restore#creating-automated-etcd-backups_backup-etcd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants