摘要: ```python !/bin/bash data=$(date "+%Y %m %d %H:%M:%S") gitBak='/data/gitlab/data/backups' delFile= count= if [ $count gt 9 ];then rm $delFile echo "$d 阅读全文
posted @ 2019-12-13 20:56 博客萨斯州 阅读(735) 评论(0) 推荐(0) 编辑
摘要: ```python !/bin/bash namespace= for i in $namespace do podname= for j in $podname do kubectl scale replicas=0 deployment/$j n $i echo $i $j pod.txt do 阅读全文
posted @ 2019-12-13 20:55 博客萨斯州 阅读(525) 评论(0) 推荐(0) 编辑