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
b6574196
Commit
b6574196
authored
Jul 12, 2021
by
王悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tmmonitormsg
parent
1c618e80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
yamls/jobs/tmmonitormsg.yml
+55
-0
No files found.
yamls/jobs/tmmonitormsg.yml
0 → 100644
View file @
b6574196
apiVersion
:
batch/v2alpha1
kind
:
CronJob
metadata
:
name
:
tmmonitormsg
namespace
:
job-tasks
spec
:
schedule
:
"
0
9
*
*
*"
jobTemplate
:
spec
:
template
:
spec
:
restartPolicy
:
OnFailure
containers
:
-
name
:
tmmonitormsg
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:188.21.1
imagePullPolicy
:
IfNotPresent
env
:
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
LANG
value
:
zh_CN.UTF-8
-
name
:
TASK_NAME
value
:
tm.tmmonitormsg
-
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