diff --git a/manifests/base/deployment.yaml b/manifests/base/deployment.yaml index 416d5ebf5e..536b782dea 100644 --- a/manifests/base/deployment.yaml +++ b/manifests/base/deployment.yaml @@ -21,6 +21,8 @@ spec: - /manager image: kubeflow/training-operator name: training-operator + ports: + - containerPort: 8080 env: - name: MY_POD_NAMESPACE valueFrom: diff --git a/manifests/base/service.yaml b/manifests/base/service.yaml index e95f9f4727..bfc94be622 100644 --- a/manifests/base/service.yaml +++ b/manifests/base/service.yaml @@ -5,15 +5,15 @@ metadata: annotations: prometheus.io/path: /metrics prometheus.io/scrape: "true" - prometheus.io/port: "8443" + prometheus.io/port: "8080" labels: app: training-operator name: training-operator spec: ports: - name: monitoring-port - port: 8443 - targetPort: 8443 + port: 8080 + targetPort: 8080 selector: name: training-operator type: ClusterIP