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
66aa035b
Commit
66aa035b
authored
Jun 15, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增定时任务服务及配置
parent
d95b4d2c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
yifu-job-deployment.yaml
k8s-bash-test/yifu-job-deployment.yaml
+1
-1
No files found.
k8s-bash-test/yifu-job-deployment.yaml
View file @
66aa035b
...
@@ -42,7 +42,7 @@ spec: # 资源规范字段
...
@@ -42,7 +42,7 @@ spec: # 资源规范字段
node-type
:
worker
# node标签
node-type
:
worker
# node标签
containers
:
# 容器
containers
:
# 容器
-
name
:
yifu-job
# 容器的名字
-
name
:
yifu-job
# 容器的名字
image
:
hub.yifucenter.com:5500/qas-mvp/yifu-job:1.0.0
# 容器镜像地址
image
:
hub.yifucenter.com:5500/qas-mvp/yifu-job
-biz
:1.0.0
# 容器镜像地址
imagePullPolicy
:
Always
# 每次Pod启动拉取镜像策略,三个选择 Always、Never、IfNotPresent
imagePullPolicy
:
Always
# 每次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