Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Troubleshooting docs for Helm #406

Merged
merged 1 commit into from
Feb 14, 2020
Merged
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
23 changes: 12 additions & 11 deletions deploy/docs/Troubleshoot_Collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ kubectl describe pods POD_NAME
### Fluentd Logs

```
kubectl logs fluentd-xxxxxxxxx-xxxxx -f
kubectl logs collection-sumologic-xxxxxxxxx-xxxxx -f
```

To enable more detailed debug or trace logs from all of Fluentd, add the following lines to the `fluentd-sumologic.yaml` file under the relevant `.conf` section and apply the change to your deployment:
Expand Down Expand Up @@ -113,7 +113,7 @@ kubectl scale deployment/collection-sumologic --replicas=3

To view Prometheus logs:
```
kubectl logs prometheus-prometheus-operator-prometheus-0 prometheus -f
kubectl logs prometheus-collection-prometheus-oper-prometheus-0 prometheus -f
```

### Send data to Fluentd stdout instead of to Sumo
Expand Down Expand Up @@ -152,7 +152,7 @@ You should see data being sent to Fluentd logs, which you can get using the comm
You can `port-forward` to a pod exposing `/metrics` endpoint and verify it is exposing Prometheus metrics:

```sh
kubectl port-forward fluentd-6f797b49b5-52h82 8080:24231
kubectl port-forward collection-sumologic-xxxxxxxxx-xxxxx 8080:24231
```

Then, in your browser, go to `localhost:8080/metrics`. You should see Prometheus metrics exposed.
Expand All @@ -162,7 +162,7 @@ Then, in your browser, go to `localhost:8080/metrics`. You should see Prometheus
First run the following command to expose the Prometheus UI:

```sh
kubectl port-forward prometheus-prometheus-operator-prometheus-0 8080:9090
kubectl port-forward prometheus-collection-prometheus-oper-prometheus-0 8080:9090
```

Then, in your browser, go to `localhost:8080`. You should be in the Prometheus UI now.
Expand Down Expand Up @@ -240,17 +240,18 @@ kops rolling-update cluster --yes

The goal is to set the flag `kubelet.serviceMonitor.https=false` when deploying the prometheus operator.

Add the following lines to the beginning of your `prometheus-overrides.yaml` file:
Add the following lines to the `prometheus-operator` section of your `values.yaml` file:
```
kubelet:
serviceMonitor:
https: false
prometheus-operator:
...
kubelet:
serviceMonitor:
https: false
```

and redeploy Prometheus:
and upgrade the helm chart:
```
helm del --purge prometheus-operator
helm install stable/prometheus-operator --name prometheus-operator --namespace sumologic -f prometheus-overrides.yaml
helm upgrade collection sumologic/sumologic --reuse-values --version=<RELEASE-VERSION> -f values.yaml
```

### Missing `kube-controller-manager` or `kube-scheduler` metrics
Expand Down