Update Consul部署说明.md

pull/46/head
StarsL.cn 2022-11-14 21:15:24 +08:00 committed by GitHub
parent 5a275db816
commit 0131fa1350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -42,3 +42,16 @@ systemctl start consul.service
```bash
consul acl bootstrap
```
### 忘记global-management Token重新生成
```
consul acl bootstrap
# 记录最后的reset index: 13
# 进入consul数据目录执行
echo 13 > acl-bootstrap-reset
# 重新创建一个global-management Token
consul acl bootstrap
```