Update monitoring.md
docu updated: removed duplicated line and added "-" to 'command', as it has to be kept from original file
@@ -83,16 +83,15 @@ To set up Grafana, we will need to deploy Grafana and InfluxDB. We will also nee
1. `kubectl edit deployment/heapster --namespace=kube-system`
1. We need to configure Heapster to use InfluxDB as the the data store. To do that under the spec > containers > command property change the command field from:
``` yaml
- command:
+ - command:
- /heapster
- --source=kubernetes.summary_api:""
```
to this:
```yaml
- command:
+ - command:
- /heapster
- --source=kubernetes.summary_api:""
- - --source=kubernetes.summary_api:""
- --sink=influxdb:http://monitoring-influxdb.kube-system.svc:8086
```
1. Save and exit from your editor to change the deployment. Now, Heapster will restart the pods and be configured to use InfluxDB. To ensure everything is ok, check the Heapster logs:
