-
Notifications
You must be signed in to change notification settings - Fork 72
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
OADP-4379: read ephemeral-storage in code #1477
OADP-4379: read ephemeral-storage in code #1477
Conversation
@mateusoliveira43: This pull request references OADP-4379 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 bug to target the "4.17.0" version, but no target version was set. 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. |
Skipping CI for Draft Pull Request. |
f384f1f
to
3f29ccc
Compare
This comment was marked as resolved.
This comment was marked as resolved.
13d53de
to
e49d32d
Compare
37e3102
to
1015570
Compare
@mateusoliveira43: This pull request references OADP-4379 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 bug to target the "4.17.0" version, but no target version was set. 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. |
1015570
to
25b9d0b
Compare
/retest |
hrm.. shouldn't the crd spec be updated or we can't because it's upstream only?
If we can't update the crd doc, we should clone the bug for a doc add to our downstream only. |
@weshayutin Good catch ! We own the DPA CRD, we should be able to update the description here via kube builder markers. |
Needs a doc update in the crd for the dpa for approval |
25b9d0b
to
2b44549
Compare
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.
PR changes worked for me:
ports:
- containerPort: 8085
name: metrics
protocol: TCP
resources:
requests:
cpu: 512m
ephemeral-storage: 2Gi
memory: 1Gi
securityContext:
allowPrivilegeEscalation: false
--
initContainers:
- image: quay.io/konveyor/openshift-velero-plugin:latest
imagePullPolicy: Always
name: openshift-velero-plugin
resources:
requests:
cpu: 512m
ephemeral-storage: 2Gi
memory: 1Gi
securityContext:
allowPrivilegeEscalation: false
--
readOnly: true
- image: quay.io/konveyor/velero-plugin-for-aws:latest
imagePullPolicy: Always
name: velero-plugin-for-aws
resources:
requests:
cpu: 512m
ephemeral-storage: 2Gi
memory: 1Gi
securityContext:
allowPrivilegeEscalation: false
Requested one change: https://github.com/openshift/oadp-operator/pull/1477/files#r1714703057
/test 4.16-e2e-test-aws |
need rebase |
Signed-off-by: Mateus Oliveira <[email protected]>
559a154
to
1caa8d2
Compare
fsPvHostPath = getFsPvHostPath("") | ||
pluginsHostPath = getPluginsHostPath("") | ||
|
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.
@shubham-pampattiwar can you review if this is ok? you recently modified this in here
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.
yeah we need those
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.
removed usage in my changes
@mateusoliveira43: all tests passed! 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. |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mateusoliveira43, weshayutin 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 |
/cherry-pick oadp-1.4 |
@mateusoliveira43: #1477 failed to apply on top of branch "oadp-1.4":
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 kubernetes-sigs/prow repository. |
Signed-off-by: Mateus Oliveira <[email protected]> (cherry picked from commit b51ce21)
Signed-off-by: Mateus Oliveira <[email protected]> (cherry picked from commit b51ce21)
Why the changes were made
Users were able to set
ephemeral-storage
values in DPA, but OADP code would never read the values. This PR fixes this behavior.How to test the changes made
Create OADP with
make deploy-olm
and create DPA withephemeral-storage
values. Check if values are passed to Velero and node-agent containers.