Skip to content

Commit

Permalink
Update monitor.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shanghaikid authored Jan 24, 2024
1 parent 37b4c3c commit e57c146
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion site/en/adminGuide/monitor/monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ $ kubectl apply -f manifests/
<div class="alert note">
The default prometheus-k8s clusterrole can not capture milvus' metrics, need to patch:
</div>
`kubectl patch clusterrole prometheus-k8s --type=json -p='[{"op": "add", "path": "/rules/-", "value": {"apiGroups": [""], "resources": ["pods", "services", "endpoints"], "verbs": ["get", "watch", "list"]}}]' `

```bash
kubectl patch clusterrole prometheus-k8s --type=json -p='[{"op": "add", "path": "/rules/-", "value": {"apiGroups": [""], "resources": ["pods", "services", "endpoints"], "verbs": ["get", "watch", "list"]}}]
```
To delete a stack, run `kubectl delete --ignore-not-found=true -f manifests/ -f manifests/setup`.
Expand Down

0 comments on commit e57c146

Please sign in to comment.