From e00c813e7234e7cffac9f832989d76f5463868cb Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Thu, 3 Aug 2023 17:49:17 +0800 Subject: [PATCH] fix --- fs_package_docker_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs_package_docker_image.sh b/fs_package_docker_image.sh index 0210110a..1b9a4ca8 100755 --- a/fs_package_docker_image.sh +++ b/fs_package_docker_image.sh @@ -10,5 +10,5 @@ docker rmi -f api-$name-srv:latest docker build -t api-$name-srv:latest . #把本地镜像load到k8s中(这个适用于无dockerhub镜像仓库情况,需要对应的deployment中的 imagePullPolicy 参数从 Always 变成None) minikube image load api-$name-srv:latest -#上传镜像到dockerhub(有dockerhub镜像仓库后打开,且把上面的load image去掉,对应的deployment中的 imagePullPolicy 参数从 None Always) +#上传镜像到dockerhub(有dockerhub镜像仓库后打开,且把上面的load image去掉,对应的deployment中的 imagePullPolicy 参数从 None 改为 Always) #docker push api-$name-srv:latest \ No newline at end of file