mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * service_mesh/v2x/ossm-reference-smcp.adoc
|
|
|
|
:_mod-docs-content-type: REFERENCE
|
|
[id="ossm-cr-general_{context}"]
|
|
= general parameters
|
|
|
|
Here is an example that illustrates the `spec.general` parameters for the `ServiceMeshControlPlane` object and a description of the available parameters with appropriate values.
|
|
|
|
.Example general parameters
|
|
[source,yaml]
|
|
----
|
|
apiVersion: maistra.io/v2
|
|
kind: ServiceMeshControlPlane
|
|
metadata:
|
|
name: basic
|
|
spec:
|
|
general:
|
|
logging:
|
|
componentLevels: {}
|
|
# misc: error
|
|
logAsJSON: false
|
|
validationMessages: true
|
|
----
|
|
|
|
|
|
.Istio general parameters
|
|
[options="header"]
|
|
[cols="l, a, a, a"]
|
|
|===
|
|
|Parameter |Description |Values |Default value
|
|
|
|
|logging:
|
|
|Use to configure logging for the {SMProductShortName} control plane components.
|
|
|
|
|
|N/A
|
|
|
|
|logging:
|
|
componentLevels:
|
|
|Use to specify the component logging level.
|
|
|Possible values: `trace`, `debug`, `info`, `warning`, `error`, `fatal`, `panic`.
|
|
|N/A
|
|
|
|
|logging:
|
|
logAsJSON:
|
|
|Use to enable or disable JSON logging.
|
|
|`true`/`false`
|
|
|N/A
|
|
|
|
|validationMessages:
|
|
|Use to enable or disable validation messages to the status fields of istio.io resources. This can be useful for detecting configuration errors in resources.
|
|
|`true`/`false`
|
|
|N/A
|
|
|===
|