You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
350 B
26 lines
350 B
3 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
3 years ago
|
service=(
|
||
|
#api service file
|
||
|
api
|
||
|
#rpc service file
|
||
|
user
|
||
|
friend
|
||
|
group
|
||
|
auth
|
||
|
conversation
|
||
|
msg-gateway
|
||
3 years ago
|
msg-transfer
|
||
3 years ago
|
msg
|
||
|
push
|
||
|
)
|
||
|
|
||
|
for i in ${service[*]}
|
||
|
do
|
||
|
kubectl -n openim delete deployment "${i}-deployment"
|
||
|
done
|
||
|
|
||
|
kubectl -n openim delete service api
|
||
|
kubectl -n openim delete service msg-gateway
|
||
|
|
||
|
echo done
|