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
f6084ae8
Commit
f6084ae8
authored
Dec 26, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
2448b09b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
yamls/jobs/cronjobs.yml
+1
-1
yamls/jobs/nocronjobs.yml
+8
-6
yamls/jobs/taskconfigmap.yaml
+3
-0
No files found.
yamls/jobs/cronjobs.yml
View file @
f6084ae8
...
@@ -12,7 +12,7 @@ spec:
...
@@ -12,7 +12,7 @@ spec:
restartPolicy
:
OnFailure
restartPolicy
:
OnFailure
containers
:
containers
:
-
name
:
hello
-
name
:
hello
image
:
registry.cn-beijing.aliyuncs.com/hantang
/taskexec
:39.0.2
image
:
registry.cn-beijing.aliyuncs.com/hantang
2/imgshare
:39.0.2
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
env
:
env
:
-
name
:
TZ
-
name
:
TZ
...
...
yamls/jobs/nocronjobs.yml
View file @
f6084ae8
...
@@ -23,16 +23,18 @@
...
@@ -23,16 +23,18 @@
apiVersion
:
batch/v1
apiVersion
:
batch/v1
kind
:
Job
kind
:
Job
metadata
:
metadata
:
name
:
helloworldjob
name
:
parsedata
namespace
:
job-tasks
namespace
:
job-tasks
spec
:
spec
:
completions
:
2
parallelism
:
2
template
:
template
:
metadata
:
metadata
:
name
:
helloworldjob
name
:
parsedata
spec
:
spec
:
containers
:
containers
:
-
name
:
helloworldjob
-
name
:
parsedata
image
:
registry.cn-beijing.aliyuncs.com/hantang
/taskexec:39.0.2
image
:
registry.cn-beijing.aliyuncs.com/hantang
2/imgshare:39.0.3
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
env
:
env
:
-
name
:
TZ
-
name
:
TZ
...
@@ -40,8 +42,8 @@ spec:
...
@@ -40,8 +42,8 @@ spec:
-
name
:
LANG
-
name
:
LANG
value
:
zh_CN.UTF-8
value
:
zh_CN.UTF-8
-
name
:
TASK_NAME
-
name
:
TASK_NAME
value
:
tes
tTask
value
:
rpt.parseRp
tTask
-
name
:
TASK_PARAM
-
name
:
TASK_PARAM
value
:
hello
,world
value
:
hello
restartPolicy
:
Never
restartPolicy
:
Never
yamls/jobs/taskconfigmap.yaml
View file @
f6084ae8
...
@@ -16,6 +16,9 @@ data:
...
@@ -16,6 +16,9 @@ data:
TASK_REDIS_DB
:
"
15"
TASK_REDIS_DB
:
"
15"
NODE_PORT
:
"
80"
NODE_PORT
:
"
80"
TASK_PORT
:
"
3000"
TASK_PORT
:
"
3000"
FK_REDIS_HOST
:
43.247.184.32
FK_REDIS_PORT
:
"
8967"
FK_REDIS_PWD
:
Gongsibao2018
...
...
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