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
4ab2c656
Commit
4ab2c656
authored
Dec 10, 2019
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
538dc808
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletions
+31
-1
yamls/jobs/taskconfigmap.yaml
+19
-0
yamls/zhichan/jiaxiya-deployment.yaml
+12
-1
No files found.
yamls/jobs/taskconfigmap.yaml
0 → 100644
View file @
4ab2c656
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
name
:
task-config
namespace
:
job-tasks
data
:
APP_ENV
:
prod
DB_HOST
:
47.95.76.74
DB_PORT
:
"
3306"
DB_USER
:
root
DB_PWD
:
Gongsibao2018
REDIS_HOST
:
r-2ze60261d9063784.redis.rds.aliyuncs.com
REDIS_PORT
:
"
6379"
REDIS_PWD
:
Gongsibao2018
TASK_DB_NAME
:
tasks
TASK_REDIS_DB
:
"
15"
NODE_PORT
:
"
80"
yamls/zhichan/jiaxiya-deployment.yaml
View file @
4ab2c656
...
...
@@ -16,9 +16,15 @@ spec:
app
:
jiaxiya
spec
:
restartPolicy
:
Always
volumes
:
-
name
:
shared-data
emptyDir
:
{}
containers
:
-
name
:
jiaxiya
image
:
registry.cn-beijing.aliyuncs.com/hantang/jiaxiya:30.0.3
volumeMounts
:
-
name
:
shared-data
mountPath
:
/tmp/tmjsonfile/
imagePullPolicy
:
IfNotPresent
ports
:
-
containerPort
:
80
...
...
@@ -77,12 +83,17 @@ spec:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PWD
-
name
:
NODE_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
NODE_PORT
-
name
:
javapostoss
image
:
registry.cn-beijing.aliyuncs.com/hantang/javapostoss:40.0.0
imagePullPolicy
:
IfNotPresent
volumeMounts
:
-
name
:
shared-data
mountPath
:
/tmp/tmjsonfile/
---
kind
:
Service
...
...
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