HarshadRanganathan / spring-boot-example

Example project using Spring Boot
MIT License
0 stars 0 forks source link

Health Check Service Port #2

Open HarshadRanganathan opened 2 years ago

HarshadRanganathan commented 2 years ago

Expose health check in a different service port - this is to have it in a private mode (LB health check) so that it's not exposed along with the public endpoint.

e.g.

spec:
  type: {{ .Values.service.type }}
  ports:
    - name: actuator
      protocol: TCP
      port: 3000
      targetPort: 3000
    - name: http
      protocol: TCP
      port: 8080
      targetPort: 8080