Skip to content

Commit 031a402

Browse files
committed
feature: 增加等待提示
1 parent ea0439c commit 031a402

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ function main() {
257257
install
258258
add_route_to_haproxy
259259

260+
log_info "Wait all pods ready..."
260261
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/instance=datamate -n "$NAMESPACE" --timeout=300s >/dev/null
262+
log_info "DataMate install successfully!"
261263
install_package
262264
}
263265

tools/uninstall.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ function main() {
8383
uninstall
8484
remove_route_from_haproxy
8585

86+
log_info "Wait all pods terminating..."
8687
kubectl wait --for=delete pod -l app.kubernetes.io/instance=datamate -n "$NAMESPACE" --timeout=300s >/dev/null
88+
log_info "DataMate uninstall successfully!"
8789
}
8890

8991
main "$@"

0 commit comments

Comments
 (0)