-
Notifications
You must be signed in to change notification settings - Fork 64
feat: OU-571 Add Perses and Incidents Feature Flags #664
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
feat: OU-571 Add Perses and Incidents Feature Flags #664
Conversation
26eab0f
to
db5581f
Compare
db5581f
to
15ffcc9
Compare
/hold |
5f38854
to
8e2364f
Compare
435f8eb
to
d5586d7
Compare
This looks very good overall, thanks for the detailed PR description! One question: Iiuc the plan is currently to add the Perses operator as a component to COO (instead of productizing it). That means that we'll add the operator deployment to the COO bundle instead of relying on other install mechanisms. Is the plan to add this to this upstream project as well, similar to how we handle our prometheus-operator fork? This doesn't block this PR here, but would be good to get clarity over. |
Yes, the plan is to include the deployment of the controller and the APIs similar to what we currently have with prometheus operator. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jgbernalp, zhuje 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 |
JIRA Issue
https://issues.redhat.com/browse/OU-571
Description
perses-dashboards
flag in the arguments for the monitoring-console-plugin's Deployment; we then can use this flag to render the Perses Dashboard component.Changes
acm
,perses
, andincidents
. In the future, we could add+kubebuilder validations/webhooks
to validate the UIPlugin custom resources for type: monitoring.monitoring.go
.Testing
Cluster Environment Requirements
Login into a OCP v4.18+ cluster ("incidents" feature flag is set only if OCP 4.18+)
set
openshift.enabled
to true inmain.go
Troubleshooting
mac specific troubleshooting
sed commands need to be adjusted on macOS update
sed ... -i
tosed ... -i ''
.Alternatively, install https://formulae.brew.sh/formula/gnu-sed and add it to your path to replace "sed"
If uninstall is hung
n the editor, find the finalizers field under metadata, and remove any finalizers (it will look something like this):
After removing the finalizer(s), save and exit the editor. This should allow the CRD to be deleted.
VSCode Local Debugger configurations
Video Demo (Requires Red Hat SSO)
These videos do not show the initial setup. The setup requires the COO to install an image that includes changes from this PR, AMC installed, and the MultiClusterHub instance created.
Figure 2. Video demo of configuring incidents feature flag, perses feature flag, and perses proxy.
https://drive.google.com/file/d/1ub34XoG8gW6AIBfQyPGC1m6XYQdheVzV/view?usp=sharing
Figure 3. Video demo of testing updating UIPlugin CR
https://drive.google.com/file/d/1Bb-Ji03wXk8L8LbwRrOBVYm1sbUc-ISa/view?usp=sharing