Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
9ae52f70
Commit
9ae52f70
authored
Aug 09, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-licancan' into 'develop'
商险部署脚本修改 See merge request fangxinjiang/yifu!152
parents
f47fe785
86215732
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
yifu-insurances-deployment.yaml
k8s-bash-test/yifu-insurances-deployment.yaml
+2
-2
No files found.
k8s-bash-test/yifu-insurances-deployment.yaml
View file @
9ae52f70
...
@@ -44,8 +44,8 @@ spec: # 资源规范字段
...
@@ -44,8 +44,8 @@ spec: # 资源规范字段
kubernetes.io/hostname
:
yfmaster1
kubernetes.io/hostname
:
yfmaster1
containers
:
# 容器
containers
:
# 容器
-
name
:
yifu-insurances
# 容器的名字
-
name
:
yifu-insurances
# 容器的名字
image
:
192.168.1.110
:5500/qas-mvp/yifu-insurances-biz:1.0.0
# 容器镜像地址
image
:
hub.yifucenter.com
:5500/qas-mvp/yifu-insurances-biz:1.0.0
# 容器镜像地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
imagePullPolicy
:
Never
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# Always,每次都检查;Never,每次都不检查(不管本地是否有);IfNotPresent,如果本地有就不检查,如果没有就拉取(手动测试时,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment