-
Notifications
You must be signed in to change notification settings - Fork 15
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
CNF-16537:Adjust serial suite for running on HyperShift platform [tier0] #1155
CNF-16537:Adjust serial suite for running on HyperShift platform [tier0] #1155
Conversation
0430b6b
to
0f86cf0
Compare
1431182
to
b476781
Compare
b476781
to
0ffe278
Compare
@Tal-or: This pull request references CNF-16537 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.19.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. |
1acc8cd
to
f1b36e2
Compare
@Tal-or: This pull request references CNF-16537 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. |
@Tal-or: This pull request references CNF-16537 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. |
make debugging easier and explain the reason for the failure. Signed-off-by: Talor Itzhak <[email protected]>
f1b36e2
to
fb4be77
Compare
fb4be77
to
e324df5
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.
most of the changes LGTM but we need to review how and where we move code around. Didn't review the last commit yet
Later on we'll need this helper function elsewhere, so let's make it public and move it into more correct place. Signed-off-by: Talor Itzhak <[email protected]>
add a package of hypershift consts which lists useful constants that can be used across the payload and test code. each const that is added to the package shall be documented so its purpose and usage will be clear. Signed-off-by: Talor Itzhak <[email protected]>
the general rule is:
|
Thanks, and what about code which is not included in any of the above? |
that's top-level code, so it can use |
e324df5
to
39e27c9
Compare
@ffromani Done. I must admit it's hard keep tracking the all the above rule, maybe we should add some CI lane to force it. |
add internal helper package to interact easily with nodegropus, and exctract different k8s resources associate with it. Signed-off-by: Talor Itzhak <[email protected]>
expend the CollectKubeletConfig function to support both OpenShift and HyperShift platform. Signed-off-by: Talor Itzhak <[email protected]>
The setup code is heavily integrated with MCPs. This is good enough for OpenShift but a no-go for HyperShift. Hence, lets generalize the flow to use PoolName instead, which is acceptable for both platforms. Signed-off-by: Talor Itzhak <[email protected]>
In some of the tests we were skipping the basload accounting this in turn led for some of the padding pod to keep pending. This commit fixes the problem by subtracting the baseload resources from the padding pod request. Signed-off-by: Talor Itzhak <[email protected]>
39e27c9
to
3417b56
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.
/approve
/lgtm
thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani, Tal-or 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 |
This PR contains the basic changes that are needed for adjusting the serial e2e suite for running on HyperShift platform.
The general idea is to reduce the usage in
MachineConfigPool
objects and move toward thePoolName
API which is a common concept for both HyperShift and OpenShift.NOTE: The changes here were tested only against
tier0
tests.More details are captured in each commit.
Signed-off-by: Talor Itzhak [email protected]