Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k8syml
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
k8syml
Commits
54ff84ac
Commit
54ff84ac
authored
Nov 23, 2020
by
linboxuan
Browse files
Options
Browse Files
Download
Plain Diff
merge branch 'master' of
http://gitlab.gongsibao.com/jiangyong/k8syml
parents
bc7d928f
1fe39c29
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
yamls/jobs/tmofficialtask.yml
+55
-0
No files found.
yamls/jobs/tmofficialtask.yml
0 → 100644
View file @
54ff84ac
apiVersion
:
batch/v2alpha1
kind
:
CronJob
metadata
:
name
:
tmofficailtask
namespace
:
job-tasks
spec
:
schedule
:
"
0
9
*
*
*"
jobTemplate
:
spec
:
template
:
spec
:
restartPolicy
:
OnFailure
containers
:
-
name
:
tmofficailtask
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:188.16.1
imagePullPolicy
:
IfNotPresent
env
:
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
LANG
value
:
zh_CN.UTF-8
-
name
:
TASK_NAME
value
:
tm.tmofficialDing
-
name
:
TASK_PARAM
value
:
hello
-
name
:
APP_ENV
valueFrom
:
configMapKeyRef
:
name
:
task-config
key
:
APP_ENV
-
name
:
TASK_PORT
valueFrom
:
configMapKeyRef
:
name
:
task-config
key
:
TASK_PORT
-
name
:
TASK_REDIS_DB
valueFrom
:
configMapKeyRef
:
name
:
task-config
key
:
FK_REDIS_DB
-
name
:
REDIS_HOST
valueFrom
:
configMapKeyRef
:
name
:
task-config
key
:
FK_REDIS_HOST
-
name
:
REDIS_PORT
valueFrom
:
configMapKeyRef
:
name
:
task-config
key
:
FK_REDIS_PORT
-
name
:
REDIS_PWD
valueFrom
:
configMapKeyRef
:
name
:
task-config
key
:
FK_REDIS_PWD
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