-
Notifications
You must be signed in to change notification settings - Fork 320
feat: Change installation namespace #556
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: Change installation namespace #556
Conversation
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
/retest |
1 similar comment
/retest |
Signed-off-by: Jaideep Rao <[email protected]>
@@ -27,7 +27,7 @@ spec: | |||
|
|||
 | |||
|
|||
3. Install the operator using the defaults in the wizard, and wait for it to show up in the list of "Installed Operators". If it doesn't install properly, you can check on its status in the "Installed Operators" tab in the `openshift-operators` namespace. | |||
3. Install the operator in the `openshift-gitops-operator` namesapce using the defaults in the wizard, and optionally, select the checkbox to enable cluster monitoring on the namesapce. Wait for it to show up in the list of "Installed Operators". If it doesn't install properly, you can check on its status in the "Installed Operators" tab in the `openshift-gitops-operator` namespace. |
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.
@jaideepr97 A few questions:
- Do we have any possible installation failures and underlying causes or symptoms for the same? If yes, can we have troubleshooting tips for them?
- If not installed properly, what status(es) are available to see for the user? Please provide doc inputs with the description of the statues (es). Also, provide information on what action the users must take for each of them.
Thanks!
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.
@jaideepr97 I see that the user has to just select/enable the OpenShift monitoring option while installing the GitOps Operator in the openshift-gitops-operator
namespace.
- Do we need any documentation or information like a concept/overview, or anything that we need in the Downstream documentation from the user's perspective, about monitoring metrics?
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.
@jaideepr97 Can you please respond to my queries here? Thanks!
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.
@Srivaralakshmi I don't know what the best place to put this info is so I'm just putting it here :
Installation instructions to be able to use this feature:
- fresh installations of the operator will see the option to choose the namespace to install the operator in, with the recommended option already selected as
openshift-gitops-operator
namespace - users must select the check box saying
Enable Operator recommended cluster monitoring on this Namespace
to enable cluster monitoring
Usage instructions:
- Once operator is installed, users can leverage the
Observe > metrics
page in the admin view to query the metrics exposed by the operator - At present the new operator performance metrics exposed are:
active_argocd_instances_total
[Guage] - This metric produces the graph that tracks the total number of active argo-cd instances being managed by the operator at a given timeactive_argocd_instances_by_phase{phase=<phase>}
[Guage] - This metric produces the graph that tracks the count of active Argo CD instances by their phase [Available/Pending/Failed/unknown]active_argocd_instance_reconciliation_count{namespace="<argocd-instance-ns>"}
[Counter] - This metric produces the graph that tracks total number of reconciliations that have occurred for the instance in the given namespace at any given point in timecontroller_runtime_reconcile_time_seconds_per_instance_bucket{namespace="<argocd-instance-ns>",le="0.5"}
[Histogram]- This metric tracks the number of reconciliations that took under 0.5s to complete for a given instance
Any of these metrics can be queried against prometheus as described above, or can be used for more complex queries as is true with any other promql queries
Signed-off-by: Jaideep Rao <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
Signed-off-by: Jaideep Rao <[email protected]>
@jaideepr97 can you create the operator bundle and verify if the operator upgrade is working fine ? |
Signed-off-by: Jaideep Rao <[email protected]>
@jaideepr97: 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. |
CI failures are expected as PR for |
…lation-namespace feat: Change installation namespace
What type of PR is this?
What does this PR do / why we need it:
Changes required for gitops-operator to be installed in its own namespace out of the box
Following changes are included:
openshift-gitops-operator
Have you updated the necessary documentation?
Which issue(s) this PR fixes:
Fixes #?
Test acceptance criteria:
How to test changes / Special notes to the reviewer: