Commit c957e4b9 authored by zhangyun's avatar zhangyun

临时使用本地镜像

parent 79bfe561
...@@ -44,7 +44,7 @@ spec: # 资源规范字段 ...@@ -44,7 +44,7 @@ spec: # 资源规范字段
kubernetes.io/hostname: yfmaster1 kubernetes.io/hostname: yfmaster1
containers: # 容器 containers: # 容器
- name: yifu-insurances # 容器的名字 - name: yifu-insurances # 容器的名字
image: localhost:5000/yifu-insurances-biz:1.0.0 #临时地址 image: localhost:5000/qas-mvp/yifu-insurances-biz:1.0.0 #临时地址
# image: 192.168.1.110:5500/qas-mvp/yifu-insurances-biz:1.0.0 # 容器镜像地址 # image: 192.168.1.110:5500/qas-mvp/yifu-insurances-biz:1.0.0 # 容器镜像地址
imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent imagePullPolicy: IfNotPresent # 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时, # Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment