changed notes for info admonition (#3919)

This commit is contained in:
Gabriel Freites 2021-07-02 11:37:39 -05:00 committed by GitHub
parent 61f0c0f24c
commit bed558454f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 5 deletions

View File

@ -9,7 +9,8 @@ showlandingtoc: "true"
Knative provides the InMemoryChannel channel implementation by default. This default implementation is useful for developers who do not want to configure a specific implementation type, such as Apache Kafka or NATSS channels. Knative provides the InMemoryChannel channel implementation by default. This default implementation is useful for developers who do not want to configure a specific implementation type, such as Apache Kafka or NATSS channels.
**NOTE:** InMemoryChannel channels should not be used in production environments. !!! info
InMemoryChannel channels should not be used in production environments.
The default channel implementation is specified in the `default-ch-webhook` ConfigMap in the `knative-eventing` namespace. The default channel implementation is specified in the `default-ch-webhook` ConfigMap in the `knative-eventing` namespace.
For more information about modifying ConfigMaps, see [Configuring the Eventing Operator custom resource](../../../install/operator/configuring-eventing-cr). For more information about modifying ConfigMaps, see [Configuring the Eventing Operator custom resource](../../../install/operator/configuring-eventing-cr).
@ -38,7 +39,8 @@ data:
Default channels can be configured for the cluster, a namespace on the cluster, or both. Default channels can be configured for the cluster, a namespace on the cluster, or both.
**NOTE:** If a default channel implementation is configured for a namespace, this will overwrite the configuration for the cluster. !!! info
If a default channel implementation is configured for a namespace, this will overwrite the configuration for the cluster.
## Next steps ## Next steps

View File

@ -37,11 +37,13 @@ Developers can create channels of any supported implementation type by creating
apiVersion: messaging.knative.dev/v1 apiVersion: messaging.knative.dev/v1
kind: InMemoryChannel kind: InMemoryChannel
``` ```
**NOTE:** The `spec.channelTemplate` property cannot be changed after creation, since it is set by the default channel mechanism, not the user. !!! info
The `spec.channelTemplate` property cannot be changed after creation, since it is set by the default channel mechanism, not the user.
3. The channel controller creates a backing channel instance 3. The channel controller creates a backing channel instance
based on the `spec.channelTemplate`. based on the `spec.channelTemplate`.
When this mechanism is used, two objects are created, a generic Channel object, and an InMemoryChannel object. The generic object acts as a proxy for the InMemoryChannel object, by copying its subscriptions to and setting its status to that of the InMemoryChannel object. When this mechanism is used, two objects are created, a generic Channel object, and an InMemoryChannel object. The generic object acts as a proxy for the InMemoryChannel object, by copying its subscriptions to and setting its status to that of the InMemoryChannel object.
**NOTE:** Defaults only apply on object creation. Defaults are applied by the webhook only on Channel or Sequence creation. If the default settings change, the new defaults will only apply to newly-created channels, brokers, or sequences. Existing ones will not change. !!! info
Defaults only apply on object creation. Defaults are applied by the webhook only on Channel or Sequence creation. If the default settings change, the new defaults will only apply to newly-created channels, brokers, or sequences. Existing ones will not change.

View File

@ -44,7 +44,8 @@ After you have created a channel and a sink, you can create a subscription to en
This example command creates a channel named `mysubscription`, that routes events from a channel named `mychannel` to a Knative service named `myservice`. This example command creates a channel named `mysubscription`, that routes events from a channel named `mychannel` to a Knative service named `myservice`.
**NOTE:** The sink prefix is optional. It is also possible to specify the service for `--sink` as just `--sink <service_name>` and omit the `ksvc` prefix. !!! info
The sink prefix is optional. It is also possible to specify the service for `--sink` as just `--sink <service_name>` and omit the `ksvc` prefix.