You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
459 B
22 lines
459 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
prometheus.io/path: /metrics
|
|
prometheus.io/scrape: "true"
|
|
prometheus.io/port: "8080"
|
|
labels:
|
|
app: training-operator
|
|
name: training-operator
|
|
spec:
|
|
ports:
|
|
- name: monitoring-port
|
|
port: 8080
|
|
targetPort: 8080
|
|
- name: webhook-server
|
|
port: 443
|
|
protocol: TCP
|
|
targetPort: 9443
|
|
selector:
|
|
control-plane: kubeflow-training-operator
|
|
type: ClusterIP
|
|
|