mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-09-24 00:31:27 +00:00
* [feat]: add health check endpoint * remove time sleep in github action test script * add error check * update docs
27 lines
528 B
YAML
27 lines
528 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: katib-controller
|
|
namespace: kubeflow
|
|
labels:
|
|
katib.kubeflow.org/component: controller
|
|
annotations:
|
|
prometheus.io/port: "8080"
|
|
prometheus.io/scheme: http
|
|
prometheus.io/scrape: "true"
|
|
spec:
|
|
ports:
|
|
- port: 443
|
|
protocol: TCP
|
|
targetPort: 8443
|
|
name: webhook
|
|
- name: metrics
|
|
port: 8080
|
|
targetPort: 8080
|
|
- name: healthz
|
|
port: 18080
|
|
targetPort: 18080
|
|
selector:
|
|
katib.kubeflow.org/component: controller
|