-
Notifications
You must be signed in to change notification settings - Fork 149
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
Detect if OpenShift cluster is single stack ipv6 #2386
Conversation
Skipping CI for Draft Pull Request. |
Skipping CI for Draft Pull Request. |
d99a1bd
to
9f4ce41
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.
please also add a functional test for the alert
07964dd
to
f642e36
Compare
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
hco-e2e-operator-sdk-sno-aws lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-operator-sdk-sno-azure, ci/prow/okd-hco-e2e-operator-sdk-gcp, ci/prow/okd-hco-e2e-upgrade-operator-sdk-gcp 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/test-infra repository. |
hco-e2e-upgrade-operator-sdk-sno-aws lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-upgrade-operator-sdk-azure, ci/prow/hco-e2e-upgrade-operator-sdk-sno-azure 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/test-infra repository. |
/retest |
hco-e2e-upgrade-prev-operator-sdk-aws lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-upgrade-prev-operator-sdk-azure 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/test-infra repository. |
@dharmit: 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/test-infra repository. I understand the commands that are listed here. |
hco-e2e-upgrade-prev-operator-sdk-sno-azure lane succeeded. |
@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-kv-smoke-azure, ci/prow/hco-e2e-upgrade-prev-operator-sdk-sno-aws 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/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tiraboschi 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 |
* Detect if OpenShift cluster is single stack ipv6 Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Add unit tests for single stack ipv6 check Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Vendor changes in tests directory Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Metric and alert for single stack ipv6 Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Get 'networks' for HCO serviceaccount Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Functional tests for the alert Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Sanity updates Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Change rule name; shorten alert name Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Let the sanity prevail (make sanity) Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Use DynamicClient, not RestClient Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> --------- Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
* Detect if OpenShift cluster is single stack ipv6 * Add unit tests for single stack ipv6 check * Vendor changes in tests directory * Metric and alert for single stack ipv6 * Get 'networks' for HCO serviceaccount * Functional tests for the alert * Sanity updates * Change rule name; shorten alert name * Let the sanity prevail (make sanity) * Use DynamicClient, not RestClient --------- Signed-off-by: Dharmit Shah <shahdharmit@gmail.com>
What this PR does / why we need it:
Checks if HCO is running on OCP configured with single stack ipv6 setup, and fail starting the Pod if so.
Reviewer Checklist
Jira Ticket:
Release note:
NOTE:
We need to get kubevirt/monitoring#186 merged before opening this up for review because it will keep failing the following functional test in
monitoring_test.go
otherwise: