Commit c8ed9be7 authored by liaozan's avatar liaozan 🏀

Set the pod port name

parent 0ac1529d
......@@ -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
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