-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OSDOCS 15419 CMA Automatically create KedaController during CMA Operator installation process #96337
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
Open
mburke5678
wants to merge
1
commit into
openshift:main
Choose a base branch
from
mburke5678:podauto-cma-2172-kdea-controller
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
OSDOCS 15419 CMA Automatically create KedaController during CMA Operator installation process #96337
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * nodes/cma/nodes-cma-autoscaling-custom-install.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="nodes-cma-autoscaling-keda-controller-edit_{context}"] | ||
= Editing the Keda Controller CR | ||
|
||
You can use the following procedure to modify the `KedaController` custom resource (CR), which is automatically installed during the installation of the Custom Metrics Autoscaler Operator. | ||
|
||
.Procedure | ||
|
||
. In the {product-title} web console, click *Operators* -> *Installed Operators*. | ||
|
||
. Click *Custom Metrics Autoscaler*. | ||
|
||
. On the *Operator Details* page, click the *KedaController* tab. | ||
|
||
. On the *KedaController* tab, click *Create KedaController* and edit the file. | ||
+ | ||
[source,yaml] | ||
---- | ||
kind: KedaController | ||
apiVersion: keda.sh/v1alpha1 | ||
metadata: | ||
name: keda | ||
namespace: openshift-keda | ||
spec: | ||
watchNamespace: '' <1> | ||
operator: | ||
logLevel: info <2> | ||
logEncoder: console <3> | ||
caConfigMaps: <4> | ||
- thanos-cert | ||
- kafka-cert | ||
metricsServer: | ||
logLevel: '0' <5> | ||
auditConfig: <6> | ||
logFormat: "json" | ||
logOutputVolumeClaim: "persistentVolumeClaimName" | ||
policy: | ||
rules: | ||
- level: Metadata | ||
omitStages: ["RequestReceived"] | ||
omitManagedFields: false | ||
lifetime: | ||
maxAge: "2" | ||
maxBackup: "1" | ||
maxSize: "50" | ||
serviceAccount: {} | ||
---- | ||
<1> Specifies a single namespace in which the Custom Metrics Autoscaler Operator scales applications. Leave it blank or leave it empty to scale applications in all namespaces. This field should have a namespace or be empty. The default value is empty. | ||
<2> Specifies the level of verbosity for the Custom Metrics Autoscaler Operator log messages. The allowed values are `debug`, `info`, `error`. The default is `info`. | ||
<3> Specifies the logging format for the Custom Metrics Autoscaler Operator log messages. The allowed values are `console` or `json`. The default is `console`. | ||
<4> Optional: Specifies one or more config maps with CA certificates, which the Custom Metrics Autoscaler Operator can use to connect securely to TLS-enabled metrics sources. | ||
<5> Specifies the logging level for the Custom Metrics Autoscaler Metrics Server. The allowed values are `0` for `info` and `4` for `debug`. The default is `0`. | ||
<6> Activates audit logging for the Custom Metrics Autoscaler Operator and specifies the audit policy to use, as described in the "Configuring audit logging" section. | ||
|
||
. Click *Save* to save the changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.