Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions _topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1374,9 +1374,10 @@ Topics:
File: cluster-logging-viewing
- Name: Viewing cluster logs using Kibana
File: cluster-logging-visualizer
- Name: Viewing cluster logs using Kibana
File: cluster-logging-kibana-interface
Distros: openshift-dedicated
# TODO: This file doesn't exist anymore - update if necessary for dedicated
# - Name: Viewing cluster logs using Kibana
# File: cluster-logging-kibana-interface
# Distros: openshift-dedicated
- Name: Forwarding logs to third party systems
File: cluster-logging-external
Distros: openshift-enterprise,openshift-webscale,openshift-origin
Expand Down
24 changes: 11 additions & 13 deletions modules/cluster-logging-collector-log-forward-syslog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
// * logging/cluster-logging-external.adoc

[id="cluster-logging-collector-log-forward-syslog_{context}"]
= Forwarding logs using the syslog protocol
= Forwarding logs using the syslog protocol

You can use the *syslog* link:https://tools.ietf.org/html/rfc3164[RFC3164] or link:https://tools.ietf.org/html/rfc5424[RFC5424] protocol to send a copy of your logs to an external log aggregator configured to accept the protocol instead of, or in addition to, the default Elasticsearch log store. You are responsible for configuring the external log aggregator to receive the logs from {product-title}.

To configure log forwarding using the *syslog* protocol, create a `ClusterLogForwarder` Custom Resource (CR) with one or more outputs to the syslog servers and pipelines that use those outputs. The syslog output can use a UDP, TCP, or TLS connection.

[NOTE]
====
Alternately, you can use a ConfigMap to forward logs using the *syslog* RFC3164 protocols. However, this method is deprecated in {product-title} and will be removed in a future release.
Alternately, you can use a ConfigMap to forward logs using the *syslog* RFC3164 protocols. However, this method is deprecated in {product-title} and will be removed in a future release.
====

.Procedure
Expand All @@ -30,13 +30,13 @@ spec:
- name: rsyslog-east <3>
type: syslog <4>
syslog: <5>
facility: local0
rfc: RFC3164
payloadKey: message
severity: informational
facility: local0
rfc: RFC3164
payloadKey: message
severity: informational
url: 'tls://rsyslogserver.east.example.com:514' <6>
secret: <7>
name: syslog-secret
name: syslog-secret
- name: rsyslog-west
type: syslog
syslog:
Expand All @@ -46,7 +46,7 @@ spec:
procID: myproc
rfc: RFC5424
severity: debug
url: 'udp://rsyslogserver.west.example.com:514'
url: 'udp://rsyslogserver.west.example.com:514'
pipelines:
- name: syslog-east <8>
inputRefs: <9>
Expand Down Expand Up @@ -101,9 +101,9 @@ $ oc delete pod --selector logging-infra=fluentd
----

[id=cluster-logging-collector-log-forward-examples-syslog-parms]
=== Syslog parameters:
== Syslog parameters

You can configure the following for the `syslog` outputs. For more information, see the syslog link:https://tools.ietf.org/html/rfc3164[RFC3164] or link:https://tools.ietf.org/html/rfc5424[RFC5424] RFC.
You can configure the following for the `syslog` outputs. For more information, see the syslog link:https://tools.ietf.org/html/rfc3164[RFC3164] or link:https://tools.ietf.org/html/rfc5424[RFC5424] RFC.

* facility: The link:https://tools.ietf.org/html/rfc5424#section-6.2.1[syslog facility]. The value can be a decimal integer or a case-insensitive keyword:
** `0` or `kern` for kernel messages
Expand Down Expand Up @@ -138,12 +138,10 @@ You can configure the following for the `syslog` outputs. For more information,
* trimPrefix: Remove the specified prefix from the tag.

[id=cluster-logging-collector-log-forward-examples-syslog-5424]
=== Additional RFC5424 syslog parameters
== Additional RFC5424 syslog parameters

The following parameters apply to RFC5424:

* appName: The APP-NAME is a free-text string that identifies the application that sent the log. Must be specified for `RFC5424`.
* msgID: The MSGID is a free-text string that identifies the type of message. Must be specified for `RFC5424`.
* procID: The PROCID is a free-text string. A a change in the value indicates a discontinuity in syslog reporting. Must be specified for `RFC5424`.


2 changes: 1 addition & 1 deletion modules/cnf-debugging-low-latency-cnf-tuning-status.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Each of these types contain the following fields:
`Message string`:: The human readable reason describing the state and error details, if any.

[id="cnf-debugging-low-latency-cnf-tuning-status-machineconfigpools_{context}"]
=== MachineConfigPools
== MachineConfigPools

A performance profile and its created products are applied to a node according to an associated machine config pool (MCP). The MCP holds valuable information about the progress of applying the machine configurations created by performance addons that encompass kernel args, KubeConfig, huge pages allocation, and deployment of rt-kernel. The performance addons controller monitors changes in the MCP and updates the PerformanceProfile status accordingly.

Expand Down
4 changes: 2 additions & 2 deletions modules/installation-adding-registry-pull-secret.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ endif::[]
ifdef::openshift-origin[]
{
"auths": {
"<mirror_registry>": {
"auth": "<credentials>",
"<mirror_registry>": { <1>
"auth": "<credentials>", <2>
"email": "[email protected]"
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/migration-installing-cam-operator-ocp-3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ containers:
...
env:
- name: REGISTRY
value: <registry.apps.example.com> <2>
value: <registry.apps.example.com> <3>
----
<1> Specify your mirror registry and the `sha256` value of the Operator image in the `mapping.txt` file.
<2> Specify your mirror registry and the `sha256` value of the Operator image in the `mapping.txt` file.
Expand Down
2 changes: 1 addition & 1 deletion modules/nw-aws-nlb-new-cluster.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Create an Ingress Controller backed by an AWS NLB on a new cluster.
+
[source,terminal]
----
$ ./openshift-install create manifests --dir=<installation_directory>
$ ./openshift-install create manifests --dir=<installation_directory> <1>
----
<1> For `<installation_directory>`, specify the name of the directory that
contains the `install-config.yaml` file for your cluster.
Expand Down
3 changes: 2 additions & 1 deletion modules/olm-mirroring-catalog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ $ oc adm catalog mirror \
[--filter-by-os="<os>/<arch>"] \//<5>
[--manifests-only] <6>
----
<1> Specify the index image for the catalog you want to mirror. For example, this might be a pruned index image that you created previously, or one of the source index images for the default catalogs, such as `{index-image-pullspec}`. <2> Specify the target registry to mirror the Operator content to.
<1> Specify the index image for the catalog you want to mirror. For example, this might be a pruned index image that you created previously, or one of the source index images for the default catalogs, such as `{index-image-pullspec}`.
<2> Specify the target registry to mirror the Operator content to.
<3> Optional: If required, specify the location of your registry credentials file.
<4> Optional: If you do not want to configure trust for the target registry, add the `--insecure` flag.
<5> Optional: Because the catalog might reference images that support multiple architectures and operating systems, you can filter by architecture and operating system to mirror only the images that match. Valid values are `linux/amd64`, `linux/ppc64le`, and `linux/s390x`.
Expand Down
33 changes: 18 additions & 15 deletions modules/olm-terms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,35 @@
//
// * operators/understanding/olm/olm-common-terms.adoc

[id="olm-common-terms-glossary_{context}"]
= Common Operator Framework terms

[id="olm-common-terms-bundle_{context}"]
= Bundle
== Bundle
In the Bundle Format, a _bundle_ is a collection of an Operator CSV, manifests,
and metadata. Together, they form a unique version of an Operator that can be
installed onto the cluster.

[id="olm-common-terms-bundle-image_{context}"]
= Bundle image
== Bundle image
In the Bundle Format, a _bundle image_ is a container image that is built from
Operator manifests and that contains one bundle. Bundle images are stored and
distributed by Open Container Initiative (OCI) spec container registries, such
as Quay.io or DockerHub.

[id="olm-common-terms-catalogsource_{context}"]
= CatalogSource
== CatalogSource
A _CatalogSource_ is a repository of CSVs, CRDs, and packages that define an
application.

[id="olm-common-terms-catalog-image_{context}"]
= Catalog image
== Catalog image
In the Package Manifest Format, a _catalog image_ is a containerized datastore
that describes a set of Operator metadata and update metadata that can be
installed onto a cluster using OLM.

[id="olm-common-terms-channel_{context}"]
= Channel
== Channel
A _channel_ defines a stream of updates for an Operator and is used to roll out
updates for subscribers. The head points to the latest version of that channel.
For example, a `stable` channel would have all stable versions of an Operator
Expand All @@ -37,11 +40,11 @@ An Operator can have several channels, and a Subscription binding to a certain
channel would only look for updates in that channel.

[id="olm-common-terms-channel-head_{context}"]
= Channel head
== Channel head
A _channel head_ refers to the latest known update in a particular channel.

[id="olm-common-terms-csv_{context}"]
= ClusterServiceVersion
== ClusterServiceVersion
A _ClusterServiceVersion_ (CSV) is a YAML manifest created from Operator
metadata that assists OLM in running the Operator in a cluster. It is the
metadata that accompanies an Operator container image, used to populate user
Expand All @@ -51,7 +54,7 @@ like the RBAC rules it requires and which custom resources (CRs) it manages or
depends on.

[id="olm-common-terms-dependency_{context}"]
= Dependency
== Dependency
An Operator may have a _dependency_ on another Operator being present in the
cluster. For example, the Vault Operator has a dependency on the etcd Operator
for its data persistence layer.
Expand All @@ -62,43 +65,43 @@ dependency is resolved by finding and installing an Operator in a Catalog that
satisfies the required CRD API, and is not related to packages or bundles.

[id="olm-common-terms-index-image_{context}"]
= Index image
== Index image
In the Bundle Format, an _index image_ refers to an image of a database (a
database snapshot) that contains information about Operator bundles including
CSVs and CRDs of all versions. This index can host a history of Operators on a
cluster and be maintained by adding or removing Operators using the `opm` CLI
tool.

[id="olm-common-terms-installplan_{context}"]
= InstallPlan
== InstallPlan
An _InstallPlan_ is a calculated list of resources to be created to
automatically install or upgrade a CSV.

[id="olm-common-terms-operatorgroup_{context}"]
= OperatorGroup
== OperatorGroup

An _OperatorGroup_ configures all Operators deployed in the same namespace as
the OperatorGroup object to watch for their CR in a list of namespaces or
cluster-wide.

[id="olm-common-terms-package_{context}"]
= Package
== Package
In the Bundle Format, a _package_ is a directory that encloses all released
history of an Operator with each version. A released version of an Operator is
described in a ClusterServiceVersion (CSV) manifest alongside the
CustomResourceDefinitions (CRDs).

[id="olm-common-terms-registry_{context}"]
= Registry
== Registry
A _registry_ is a database that stores bundle images of Operators, each with all
of its latest and historical versions in all channels.

[id="olm-common-terms-subscription_{context}"]
= Subscription
== Subscription
A _Subscription_ keeps CSVs up to date by tracking a channel in a package.

[id="olm-common-terms-update-graph_{context}"]
= Update graph
== Update graph
An _update graph_ links versions of CSVs together, similar to the update graph
of any other packaged software. Operators can be installed sequentially, or
certain versions can be skipped. The update graph is expected to grow only at
Expand Down
2 changes: 1 addition & 1 deletion modules/update-configuring-image-signature.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ to update the cluster, such as `4.4.0`.
+
[source,terminal]
----
$ ARCHITECTURE=<server_architecture> <11>
$ ARCHITECTURE=<server_architecture> <1>
----
<1> For `server_architecture`, specify the architecture of the server, such as `x86_64`.

Expand Down
2 changes: 1 addition & 1 deletion operators/understanding/olm-common-terms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ This topic provides a glossary of common terms related to the Operator
Framework, including Operator Lifecycle Manager (OLM) and the Operator SDK, for
both packaging formats: Package Manifest Format and Bundle Format.

include::modules/olm-terms.adoc[leveloffset=+3]
include::modules/olm-terms.adoc[leveloffset=+1]
12 changes: 6 additions & 6 deletions post_installation_configuration/storage-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ cluster to your requirements, including storage configuration.
[id="post-install-dynamic-provisioning"]
== Dynamic provisioning

include::modules/dynamic-provisioning-about.adoc[leveloffset=+3]
include::modules/dynamic-provisioning-about.adoc[leveloffset=+2]

include::modules/dynamic-provisioning-available-plugins.adoc[leveloffset=+3]
include::modules/dynamic-provisioning-available-plugins.adoc[leveloffset=+2]

include::modules/dynamic-provisioning-defining-storage-class.adoc[leveloffset=+1]

include::modules/dynamic-provisioning-storage-class-definition.adoc[leveloffset=+3]
include::modules/dynamic-provisioning-storage-class-definition.adoc[leveloffset=+2]

include::modules/dynamic-provisioning-annotations.adoc[leveloffset=+3]
include::modules/dynamic-provisioning-annotations.adoc[leveloffset=+2]

include::modules/dynamic-provisioning-cinder-definition.adoc[leveloffset=+3]
include::modules/dynamic-provisioning-cinder-definition.adoc[leveloffset=+2]

include::modules/dynamic-provisioning-aws-definition.adoc[leveloffset=+3]
include::modules/dynamic-provisioning-aws-definition.adoc[leveloffset=+2]

include::modules/dynamic-provisioning-azure-disk-definition.adoc[leveloffset=+2]

Expand Down
2 changes: 1 addition & 1 deletion serverless/networking/serverless-ossm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
$ oc apply -f <filename>
----

include::modules/serverless-service-mesh-enable-sidecar-injection.adoc[leveloffset=+2]
include::modules/serverless-service-mesh-enable-sidecar-injection.adoc[leveloffset=+1]

[id="serverless-ossm-additional-resources"]
== Additional resources
Expand Down