sidecar demo in readme
This commit is contained in:
parent
d26c2aae11
commit
1060a425e7
|
@ -52,11 +52,13 @@ nohup ./categraf &> stdout.log &
|
|||
|
||||
## Deploy categraf as daemonset
|
||||
|
||||
edit k8s/categraf.yaml, replace NSERVER_SERVICE_WITH_PORT with service ip:port of nserver in your cluster, replace CATEGRAF_NAMESPACE with namespace value, then run:
|
||||
edit k8s/daemonset.yaml, replace NSERVER_SERVICE_WITH_PORT with service ip:port of nserver in your cluster, replace CATEGRAF_NAMESPACE with namespace value, then run:
|
||||
|
||||
```shell
|
||||
kubectl apply -n monitoring -f ks8/categraf.yaml
|
||||
kubectl apply -n monitoring -f ks8/daemonset.yaml
|
||||
kubectl apply -n monitoring -f ks8/sidecar.yaml
|
||||
```
|
||||
notice: k8s/sidecar.yaml is a demo, replace mock with your own image.
|
||||
|
||||
|
||||
## Plugin
|
||||
|
|
Loading…
Reference in New Issue