From 2c7d5b89626540fef1c1c2519d1ae7ccde6e0fd3 Mon Sep 17 00:00:00 2001 From: Andrea Hoffer Date: Wed, 24 Feb 2021 15:42:52 -0500 Subject: [PATCH] Adding missing prompts --- modules/cluster-logging-collector-envvar.adoc | 4 ++-- modules/cluster-logging-collector-pod-location.adoc | 2 +- modules/cluster-logging-deploy-cli.adoc | 6 +++--- modules/cluster-logging-log-store-status-comp.adoc | 2 +- modules/dynamic-provisioning-gluster-definition.adoc | 2 +- modules/nodes-containers-copying-files-procedure.adoc | 4 ++-- modules/nw-multinetwork-sriov.adoc | 2 +- modules/op-release-notes-1-2.adoc | 6 +++--- ...figuring-ingress-cluster-traffic-ingress-controller.adoc | 2 +- .../configuring-ingress-cluster-traffic-load-balancer.adoc | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/cluster-logging-collector-envvar.adoc b/modules/cluster-logging-collector-envvar.adoc index d9df890423be..615ca13913c6 100644 --- a/modules/cluster-logging-collector-envvar.adoc +++ b/modules/cluster-logging-collector-envvar.adoc @@ -20,11 +20,11 @@ available environment variables. Set any of the Fluentd environment variables as needed: ---- -oc set env ds/fluentd = +$ oc set env ds/fluentd = ---- For example: ---- -oc set env ds/fluentd BUFFER_SIZE_LIMIT=24 +$ oc set env ds/fluentd BUFFER_SIZE_LIMIT=24 ---- diff --git a/modules/cluster-logging-collector-pod-location.adoc b/modules/cluster-logging-collector-pod-location.adoc index 6d1abf8b1474..0772527739b4 100644 --- a/modules/cluster-logging-collector-pod-location.adoc +++ b/modules/cluster-logging-collector-pod-location.adoc @@ -13,7 +13,7 @@ Run the following command in the `openshift-logging` project: [source,terminal] ---- -$oc get pods --selector component=fluentd -o wide -n openshift-logging +$ oc get pods --selector component=fluentd -o wide -n openshift-logging ---- .Example output diff --git a/modules/cluster-logging-deploy-cli.adoc b/modules/cluster-logging-deploy-cli.adoc index 30727e836f4a..a850fd9853f9 100644 --- a/modules/cluster-logging-deploy-cli.adoc +++ b/modules/cluster-logging-deploy-cli.adoc @@ -170,7 +170,7 @@ The Elasticsearch Operator is installed to the `openshift-operators-redhat` Name + [source,terminal] ---- -oc get csv --all-namespaces +$ oc get csv --all-namespaces ---- + .Example output @@ -263,7 +263,7 @@ There should be a Cluster Logging Operator in the `openshift-logging` Namespace. + [source,terminal] ---- -oc get csv -n openshift-logging +$ oc get csv -n openshift-logging ---- + .Example output @@ -442,7 +442,7 @@ You should see several pods for Cluster Logging, Elasticsearch, Fluentd, and Kib + [source,terminal] ---- -oc get pods -n openshift-logging +$ oc get pods -n openshift-logging ---- + .Example output diff --git a/modules/cluster-logging-log-store-status-comp.adoc b/modules/cluster-logging-log-store-status-comp.adoc index 630b8ff83b9b..3696a5cb20cd 100644 --- a/modules/cluster-logging-log-store-status-comp.adoc +++ b/modules/cluster-logging-log-store-status-comp.adoc @@ -71,7 +71,7 @@ pod/elasticsearch-cdm-1godmszn-3-f66f7d-zqkz7 + [source,terminal] ---- -oc describe pod elasticsearch-cdm-1godmszn-1-6f8495-vp4lw +$ oc describe pod elasticsearch-cdm-1godmszn-1-6f8495-vp4lw ---- + The output includes the following status information: diff --git a/modules/dynamic-provisioning-gluster-definition.adoc b/modules/dynamic-provisioning-gluster-definition.adoc index 997336dc0069..0089db152287 100644 --- a/modules/dynamic-provisioning-gluster-definition.adoc +++ b/modules/dynamic-provisioning-gluster-definition.adoc @@ -67,7 +67,7 @@ also exist. [source,terminal] ---- -oc create secret generic heketi-secret --from-literal=key= -n --type=kubernetes.io/glusterfs +$ oc create secret generic heketi-secret --from-literal=key= -n --type=kubernetes.io/glusterfs ---- This results in the following configuration: diff --git a/modules/nodes-containers-copying-files-procedure.adoc b/modules/nodes-containers-copying-files-procedure.adoc index 4ae665b93179..474ed6d00752 100644 --- a/modules/nodes-containers-copying-files-procedure.adoc +++ b/modules/nodes-containers-copying-files-procedure.adoc @@ -36,7 +36,7 @@ use with the `oc rsync` command. + [source,terminal] ---- -oc rsync :/ +$ oc rsync :/ ---- + For example: @@ -63,7 +63,7 @@ $ oc rsync devpod1234:/src /home/user/source .Example output [source,terminal] ---- -oc rsync devpod1234:/src/status.txt /home/user/ +$ oc rsync devpod1234:/src/status.txt /home/user/ WARNING: cannot use rsync: rsync not available in container status.txt ---- diff --git a/modules/nw-multinetwork-sriov.adoc b/modules/nw-multinetwork-sriov.adoc index f0e45cb242ba..3e37f14e9f15 100644 --- a/modules/nw-multinetwork-sriov.adoc +++ b/modules/nw-multinetwork-sriov.adoc @@ -187,7 +187,7 @@ spec: . Run the following command to create the `sriov-device-plugin` DaemonSet: + ---- -oc create -f sriov-device-plugin.yaml +$ oc create -f sriov-device-plugin.yaml ---- . Create a YAML file for the `sriov-cni` DaemonSet with the following contents: diff --git a/modules/op-release-notes-1-2.adoc b/modules/op-release-notes-1-2.adoc index 5007c2ad6a5b..6cc8c1d177fc 100644 --- a/modules/op-release-notes-1-2.adoc +++ b/modules/op-release-notes-1-2.adoc @@ -84,21 +84,21 @@ As a workaround, to remove the `EventListener` and `Pod` CRDs: + [source,terminal] ---- -oc patch el/ -p '{"metadata":{"finalizers":["foregroundDeletion"]}}' --type=merge +$ oc patch el/ -p '{"metadata":{"finalizers":["foregroundDeletion"]}}' --type=merge ---- + For example: + [source,terminal] ---- -oc patch el/github-listener-interceptor -p '{"metadata":{"finalizers":["foregroundDeletion"]}}' --type=merge +$ oc patch el/github-listener-interceptor -p '{"metadata":{"finalizers":["foregroundDeletion"]}}' --type=merge ---- + . Delete the `EventListener` CRD: + [source,terminal] ---- -oc patch crd/eventlisteners.triggers.tekton.dev -p '{"metadata":{"finalizers":[]}}' --type=merge +$ oc patch crd/eventlisteners.triggers.tekton.dev -p '{"metadata":{"finalizers":[]}}' --type=merge ---- * When you run a multi-arch container image task without command specification on an IBM Power Systems (ppc64le) or IBM Z (s390x) cluster, the `TaskRun` resource fails with the following error: diff --git a/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.adoc b/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.adoc index eb9b0be415e6..24fc79601d82 100644 --- a/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.adoc +++ b/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-ingress-controller.adoc @@ -29,7 +29,7 @@ can reach the cluster. to a user, run the following command: + ---- -oc adm policy add-cluster-role-to-user cluster-admin username +$ oc adm policy add-cluster-role-to-user cluster-admin username ---- * Have an {product-title} cluster with at least one master and at least one node diff --git a/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-load-balancer.adoc b/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-load-balancer.adoc index b7911f4e3c07..e92a81618ae4 100644 --- a/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-load-balancer.adoc +++ b/networking/configuring_ingress_cluster_traffic/configuring-ingress-cluster-traffic-load-balancer.adoc @@ -28,7 +28,7 @@ can reach the cluster. to a user, run the following command: + ---- -oc adm policy add-cluster-role-to-user cluster-admin username +$ oc adm policy add-cluster-role-to-user cluster-admin username ---- * Have an {product-title} cluster with at least one master and at least one node