This commit is contained in:
marsal wang
2022-01-10 14:52:49 +08:00
parent b3602d3646
commit 253495db88
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,9 @@
FROM openjdk:11.0.13-slim-buster
RUN apt-get update && apt-get install -y curl
CMD ["java","--version"]
# 打包之前先解压dhsdk.zip文件
# docker build -f Dockerfile -t marsal1212/java11:latest .
# 添加了curl

View File

@ -118,6 +118,12 @@ spec:
- name: EMBEDDED_STORAGE
value: embedded
{{end}}
livenessProbe:
tcpSocket:
port: {{ .Values.nacos.serverPort }}
readinessProbe:
tcpSocket:
port: {{ .Values.nacos.serverPort }}
volumeMounts:
- name: data
mountPath: /home/nacos/plugins/peer-finder