Skip to content

Commit

Permalink
fix: support removing pika instance from codis dashboard before pod s…
Browse files Browse the repository at this point in the history
…top (OpenAtomFoundation#2475)

Co-authored-by: liuchengyu <liuchengyu@360.cn>
  • Loading branch information
2 people authored and liuyuecai committed Mar 14, 2024
1 parent 9349342 commit 21275ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/kubeblocks_helm/pika/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ spec:
args:
- "-c"
- "/script/admin.sh --register-server;tail -f /dev/null"
lifecycle:
preStop:
exec:
command:
- "/bin/bash"
- "-c"
- "/script/admin.sh --remove-server"
- name: etcd
workloadType: Stateful
characterType: etcd
Expand Down

0 comments on commit 21275ce

Please sign in to comment.