大量更新
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
namespace=zhbf
|
||||
namespace=xmyd
|
||||
|
||||
# 优雅地处理Deployment缩容
|
||||
scale_deployments() {
|
||||
@@ -18,4 +18,4 @@ scale_statefulsets() {
|
||||
}
|
||||
|
||||
scale_deployments
|
||||
scale_statefulsets
|
||||
#scale_statefulsets
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
namespace=gsyd-app
|
||||
namespace=szgz
|
||||
|
||||
install_yq() {
|
||||
wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/amd/yq_linux_amd64 -O /usr/local/bin/yq
|
||||
# wget https://oss.demo.uavcmlc.com/cmlc-installation/downloadfile/aarch/yq_linux_arm64 -O /usr/local/bin/yq
|
||||
chmod +x /usr/local/bin/yq
|
||||
|
||||
echo ""
|
||||
@@ -43,7 +44,7 @@ backup_all_stateful_sets() {
|
||||
echo ""
|
||||
}
|
||||
|
||||
install_yq
|
||||
#install_yq
|
||||
backup_all_deployment
|
||||
backup_all_service
|
||||
backup_all_stateful_sets
|
||||
|
||||
Reference in New Issue
Block a user