upd README.md

This commit is contained in:
ansgarz 2022-05-11 09:57:24 +02:00
parent db04735df0
commit 12adeff316

View file

@ -73,8 +73,11 @@ fqdn: "myhostname.com"
node:
ipv4: "192.168.56.123" # ip address
echo: true # for demo reasons only - deploy an echo app
```
# To add a grafana agent to your k3s installation add the following
To add a grafana agent to your k3s installation add the following to the config:
```yaml
grafana:
user: "myusername" # username for the grafana data source
password:
@ -83,6 +86,13 @@ grafana:
cluster: "mycluster" # a cluster name of your choice
```
To provision the grafana agent only to an existing k8s system, ensure that the config (as above) is available and execute:
```bash
provs-server.jar k3s myuser@myhost.com -o grafana
```
### Performing a system check