解决K8S部署consul,重启pod后KV数据无法持久化的问题.

pull/122/head
StarsL.cn 2023-10-08 16:24:31 +08:00 committed by GitHub
parent 0d881b7d6b
commit 3da0076ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ spec:
containers:
- name: consul
image: 'swr.cn-south-1.myhuaweicloud.com/starsl.cn/consul:latest'
args:
- agent
ports:
- name: http
containerPort: 8500