摘要: 脚本:Auto_docker_pull_tag_save.sh #!/bin/bash ## Author: dongge 2021-12-10 15:05 ## 根据镜像列表文件,自动到harbor拉取镜像,并根据给出的前缀自动打tag,最后自动保存镜像为tgz文件 ## 参数说明:$1表示镜像列 阅读全文
posted @ 2021-12-10 16:25 kribee 阅读(776) 评论(0) 推荐(0)
摘要: 脚本: ## clean_k8s_abnormal_pod.sh #!/bin/bash ## $1表示工作空间,$2表示要该清理状态的所有pod namespace=$1 status=$2 echo $namespace if [ ! -n "$namespace" ];then echo "p 阅读全文
posted @ 2021-12-10 16:16 kribee 阅读(491) 评论(0) 推荐(0)