K8S 创建rc 时 不适用本地镜像的解决办法

spec: 
  containers: 
    - name: nginx 
      image: image: reg.docker.lc/share/nginx:latest 
      imagePullPolicy: IfNotPresent   #或者使用Never 

猜你喜欢

转载自www.cnblogs.com/jinanxiaolaohu/p/9480855.html
今日推荐