mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
* initial readme * readme blurb * readme blurb * anchors * renaming * renaming * install prometheus operator * install prometheus operator * install prometheus operator * kfserving prefixes * prom services * readme * readme * readme * prom operator samples * v1 cluster role and binding * images * readme * Access prometheus metrics * Access prometheus metrics * minimal prometheus setup * fixed prom queries * fixed prom queries * fixed typos * restored kfserving jupyter notebook * instructions for kustomizing install namespace
24 lines
431 B
YAML
24 lines
431 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: prometheus
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources:
|
|
- nodes
|
|
- nodes/metrics
|
|
- services
|
|
- endpoints
|
|
- pods
|
|
verbs: ["get", "list", "watch"]
|
|
- apiGroups: [""]
|
|
resources:
|
|
- configmaps
|
|
verbs: ["get"]
|
|
- apiGroups:
|
|
- networking.k8s.io
|
|
resources:
|
|
- ingresses
|
|
verbs: ["get", "list", "watch"]
|
|
- nonResourceURLs: ["/metrics"]
|
|
verbs: ["get"] |