-
Notifications
You must be signed in to change notification settings - Fork 1.8k
TELCODOCS-1453: Adding SNO post-install config for OLM #68117
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * scalability_and_performance/ztp_far_edge/ztp-reference-cluster-configuration-for-vdu.adoc | ||
|
||
:_mod-docs-content-type: CONCEPT | ||
[id="ztp-sno-du-reducing-resource-usage-with-olm-pprof_{context}"] | ||
= Operator Lifecycle Manager | ||
|
||
{sno-caps} clusters that run distributed unit workloads require consistent access to CPU resources. Operator Lifecycle Manager (OLM) collects performance data from Operators at regular intervals, resulting in an increase in CPU utilisation. The following `ConfigMap` custom resource (CR) disables the collection of Operator performance data by OLM. | ||
|
||
.Recommended cluster OLM configuration (`ReduceOLMFootprint.yaml`) | ||
[source,yaml] | ||
---- | ||
include::snippets/ztp_ReduceOLMFootprint.yaml[] | ||
---- |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: collect-profiles-config | ||
namespace: openshift-operator-lifecycle-manager | ||
data: | ||
pprof-config.yaml: | | ||
disabled: True | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. extra space?? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's generally best practice to leave a space at the end of a file. Snippets perhaps are a bit different but doesn't really make much difference in the output 🤷♂️ |
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.
(
ReduceOLMFootprint.yaml
) is this required?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.
Yes - it links to a file in a recommend cluster spec container