Skip to content

Commit

Permalink
Format markdown (google#2054)
Browse files Browse the repository at this point in the history
Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation authored Jan 8, 2021
1 parent 1232aa3 commit 026ecb2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 22 deletions.
7 changes: 3 additions & 4 deletions docs/how-to/authentication-mechanism-troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,14 @@ kubectl describe cloudauditlogssource test -n default
Kubernetes Service Account `controller` in namespace `events-system`.
- If you are using Kubernetes Secret for the Control Plane, refer
[here](../install/authentication-mechanisms-gcp.md/#kubernetes-secrets) to
check the Kubernetes Secret `google-cloud-key` in namespace
`events-system`.
check the Kubernetes Secret `google-cloud-key` in namespace `events-system`.
**_Note:_** For Kubernetes Secret, if the JSON private key no longer exists
under your Google Cloud Service Account `events-controller-gsa`. Then, even the
Google Cloud Service Account `events-controller-gsa` has all required
permissions, and the corresponding Kubernetes Secret `google-cloud-key` is in
namespace `events-system`, you still get permission related error. To such
case, you have to re-download the JSON private key and re-create the Kubernetes
namespace `events-system`, you still get permission related error. To such case,
you have to re-download the JSON private key and re-create the Kubernetes
Secret, refer
[here](../install/authentication-mechanisms-gcp.md/#option-2-kubernetes-secrets)
for instructions.
Expand Down
4 changes: 2 additions & 2 deletions docs/how-to/broker-priority.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Background

The data plane components of `GCP-broker` are running on Kubernetes clusters in
`events-system` namespace. Their resource consumption depends on the number
of cluster nodes and number of pods running in total.
`events-system` namespace. Their resource consumption depends on the number of
cluster nodes and number of pods running in total.

As existing components use more resources and as we add more new components,
more cluster and node resources are required to run Kubernetes. This
Expand Down
4 changes: 2 additions & 2 deletions docs/how-to/cloud-trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ to grant dataplane service accounts `roles/cloudtrace.agent`.

## Enable Tracing in the `config-tracing` ConfigMap

Edit the `config-tracing` ConfigMap under the `events-system` namespace in
Cloud Console or with the following `kubectl` command:
Edit the `config-tracing` ConfigMap under the `events-system` namespace in Cloud
Console or with the following `kubectl` command:

```shell
kubectl edit configmap -n events-system config-tracing
Expand Down
4 changes: 2 additions & 2 deletions docs/how-to/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ gcloud projects add-iam-policy-binding $PROJECT_ID \

## Enable Metrics in the `config-observability` ConfigMap

Edit the `config-observability` ConfigMap under the `events-system` namespace
in Cloud Console or with the following `kubectl` command:
Edit the `config-observability` ConfigMap under the `events-system` namespace in
Cloud Console or with the following `kubectl` command:

```shell
kubectl edit configmap -n events-system config-observability
Expand Down
4 changes: 2 additions & 2 deletions docs/install/install-broker-with-pubsub-channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Channel.

## Deployment

1. Verify the configmap `config-br-default-channel` is in the
`events-system` namespace.
1. Verify the configmap `config-br-default-channel` is in the `events-system`
namespace.

```shell
kubectl get configmap config-br-default-channel -n events-system
Expand Down
20 changes: 10 additions & 10 deletions docs/install/install-gcp-broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ All GCP Brokers share the following data plane components:
[#832](https://github.com/google/knative-gcp/issues/832). In this case you
need to delete the pull subscription manually and wait for it to be
recreated by the controller.
- Compare `/var/run/events-system/broker/targets` file in the fanout pod
with the contents in `config-targets` configmap in `events-system`
namespace. If they are not the same, it's likely that the configmap volume
in the pod is not updated with the latest information. Delete the pod and
wait for it to be recreated. Meanwhile file a bug.
- Compare `/var/run/events-system/broker/targets` file in the fanout pod with
the contents in `config-targets` configmap in `events-system` namespace. If
they are not the same, it's likely that the configmap volume in the pod is
not updated with the latest information. Delete the pod and wait for it to
be recreated. Meanwhile file a bug.
1. Events are not retried after delivery failures.
- Check the fanout pod logs to see if it sends failed events to the retry
topic.
Expand All @@ -229,11 +229,11 @@ All GCP Brokers share the following data plane components:
[#832](https://github.com/google/knative-gcp/issues/832). In this case you
need to delete the pull subscription manually and wait for it to be
recreated by the controller.
- Compare `/var/run/events-system/broker/targets` file in the retry pod
with the contents in `config-targets` configmap in `events-system`
namespace. If they are not the same, it's likely that the configmap volume
in the pod is not updated with the latest information. Delete the pod and
wait for it to be recreated. Meanwhile file a bug.
- Compare `/var/run/events-system/broker/targets` file in the retry pod with
the contents in `config-targets` configmap in `events-system` namespace. If
they are not the same, it's likely that the configmap volume in the pod is
not updated with the latest information. Delete the pod and wait for it to
be recreated. Meanwhile file a bug.
1. Cannot delete a Trigger.
- If the Broker doesn't exist, then it's a known issue:
[#828](https://github.com/google/knative-gcp/issues/828)
Expand Down

0 comments on commit 026ecb2

Please sign in to comment.