-
Notifications
You must be signed in to change notification settings - Fork 6
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
PB-7476: Adding node affinity to kopia backup and restore jobs #388
Conversation
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 238 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 238 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
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.
LGTM
done |
12a116b
to
ad0842a
Compare
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
OSS Scan Results:
Total issues: 142 |
License Evaluation Results:
Total License Issues: 17 |
What this PR does / why we need it: It adds node affinity rule to kopia backup and restore jobs
Which issue(s) this PR fixes (optional)
Closes # https://purestorage.atlassian.net/browse/PB-7476
Special notes for your reviewer:
The user needs to add this label to kdmp-config PXB_JOB_NODE_AFFINITY_LABEL=kopia-backup
This label has to be added to the application node pool as well
Unit Testing
Job pod created for mysql app with pvc got assigned to Node 3 with no node affinity in it's spec
Updated result
Job pod created for noapp-pvc got assigned to node 2 with node affinity in it's spec
Updated result
NFS backup Job Node Affinity
Updated Result
NFS Restore Pod
Updated Result
Kopia Restore Pod
Updated result
noapp-pvc restore
mysql-pvc restore
csi backup on nfs bl
nfscsirestore
Updated result
Verified taking backup in psa environment
psa environmnet + postgress app with pvc (backup successful)
psa environment - only pvc (backup failed)
central ns psa environment