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
chengyu-l and liuchengyu authored Mar 9, 2024
1 parent 3b0731e commit 1a707c2
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 1a707c2

Please sign in to comment.