diff --git a/k8s/production/service.yaml b/k8s/production/service.yaml index 8735376e2..e86d0620a 100644 --- a/k8s/production/service.yaml +++ b/k8s/production/service.yaml @@ -8,7 +8,8 @@ metadata: spec: type: LoadBalancer ports: - - port: 9094 - name: http + - name: http + port: 9094 + targetPort: http selector: app: spring-petclinic-plain diff --git a/k8s/staging/service.yaml b/k8s/staging/service.yaml index 4b8922055..fb7ad6ba4 100644 --- a/k8s/staging/service.yaml +++ b/k8s/staging/service.yaml @@ -8,7 +8,8 @@ metadata: spec: type: LoadBalancer ports: - - port: 9093 - name: http + - name: http + port: 9093 + targetPort: http selector: app: spring-petclinic-plain