diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 94a04ceef4e85ab446635b897b971ec218bbd5ad..abe1ecf17bfd268ba13e22b8a599f5c3b1da61d9 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -42,9 +42,11 @@ spec: limits: memory: ${MEMORY_LIMIT} ports: - - containerPort: ${PORT} + - name: service + containerPort: ${PORT} protocol: TCP - - containerPort: 1024 + - name: actuator + containerPort: 1024 protocol: TCP startupProbe: httpGet: @@ -75,4 +77,4 @@ spec: - name: ${APP_NAME}-volume hostPath: path: /share/pod/data/${APP_NAME} - type: DirectoryOrCreate \ No newline at end of file + type: DirectoryOrCreate