diff --git a/k8s-service-template.yaml b/k8s-service-template.yaml index 44471e13199c5cf17d4d2f61ee194c7c18ce963a..fd894a48b990b6cd7512cb1874cca42e9aa11d42 100644 --- a/k8s-service-template.yaml +++ b/k8s-service-template.yaml @@ -10,9 +10,11 @@ metadata: spec: type: ${SERVICE_MODE} ports: - - port: ${SERVICE_PORT} + - name: ServicePort + port: ${SERVICE_PORT} targetPort: ${SERVICE_PORT} - - port: 1024 + - name: ActuatorPort + port: 1024 targetPort: 1024 selector: app: ${APP_NAME} \ No newline at end of file