From afbb0b90871d7fdc413eb385cd080372f51455ce Mon Sep 17 00:00:00 2001 From: liaozan Date: Mon, 14 Mar 2022 23:10:35 +0800 Subject: [PATCH] Update k8s-service-template.yaml --- k8s-service-template.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/k8s-service-template.yaml b/k8s-service-template.yaml index 44471e1..fd894a4 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 -- GitLab