Files
kserve/config/default/manager_prometheus_metrics_patch.yaml
rachitchauhan43andGitHub 7eb0d6615f Adding new manifests for 0.10.0 (#2544)
* Adding new manifests.

Signed-off-by: rachitchauhan43 <[email protected]>

* Adding new manifests.

Signed-off-by: rachitchauhan43 <[email protected]>

* Deleted Stateful set for kserve-manager-controller

Signed-off-by: rachitchauhan43 <[email protected]>

* Fixing relative link in Release process

Signed-off-by: rachitchauhan43 <[email protected]>

Signed-off-by: rachitchauhan43 <[email protected]>
2022-11-18 15:31:45 -05:00

20 lines
448 B
YAML

# This patch enables Prometheus scraping for the manager pod.
apiVersion: apps/v1
kind: Deployment
metadata:
name: kserve-controller-manager
namespace: kserve
spec:
template:
metadata:
annotations:
prometheus.io/scrape: 'true'
spec:
containers:
# Expose the prometheus metrics on default port
- name: manager
ports:
- containerPort: 8080
name: metrics
protocol: TCP