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
ce2e7da5
Commit
ce2e7da5
authored
Jun 27, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
6cb0f6fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
yamls/tx/jobs/1job-namespace.yaml
+5
-0
yamls/tx/jobs/2.cronjobs.yml
+28
-0
No files found.
yamls/tx/jobs/1job-namespace.yaml
0 → 100644
View file @
ce2e7da5
apiVersion
:
v1
kind
:
Namespace
metadata
:
name
:
job-tasks
\ No newline at end of file
yamls/tx/jobs/2.cronjobs.yml
0 → 100644
View file @
ce2e7da5
apiVersion
:
batch/v2alpha1
kind
:
CronJob
metadata
:
name
:
cronjob-taskdemo
namespace
:
job-tasks
spec
:
schedule
:
"
*/1
*
*
*
*"
jobTemplate
:
spec
:
template
:
spec
:
restartPolicy
:
OnFailure
containers
:
-
name
:
hello
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:39.0.2
imagePullPolicy
:
IfNotPresent
env
:
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
LANG
value
:
zh_CN.UTF-8
-
name
:
TASK_NAME
value
:
testTask
-
name
:
TASK_PARAM
value
:
hello,world
---
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