Commit c8ed9be7 authored by liaozan's avatar liaozan 🏀

Set the pod port name

parent 0ac1529d
...@@ -42,9 +42,11 @@ spec: ...@@ -42,9 +42,11 @@ spec:
limits: limits:
memory: ${MEMORY_LIMIT} memory: ${MEMORY_LIMIT}
ports: ports:
- containerPort: ${PORT} - name: service
containerPort: ${PORT}
protocol: TCP protocol: TCP
- containerPort: 1024 - name: actuator
containerPort: 1024
protocol: TCP protocol: TCP
startupProbe: startupProbe:
httpGet: httpGet:
...@@ -75,4 +77,4 @@ spec: ...@@ -75,4 +77,4 @@ spec:
- name: ${APP_NAME}-volume - name: ${APP_NAME}-volume
hostPath: hostPath:
path: /share/pod/data/${APP_NAME} path: /share/pod/data/${APP_NAME}
type: DirectoryOrCreate type: DirectoryOrCreate
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment