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
2e442bfb
Commit
2e442bfb
authored
Sep 29, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
b9a5c0de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
51 deletions
+49
-51
yamls/zhichan/jiaxiya-deployment.yaml
+49
-51
No files found.
yamls/zhichan/jiaxiya-deployment.yaml
View file @
2e442bfb
...
@@ -9,7 +9,7 @@ spec:
...
@@ -9,7 +9,7 @@ spec:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
app
:
jiaxiya
app
:
jiaxiya
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
...
@@ -20,81 +20,80 @@ spec:
...
@@ -20,81 +20,80 @@ spec:
-
name
:
shared-data
-
name
:
shared-data
emptyDir
:
{}
emptyDir
:
{}
containers
:
containers
:
-
name
:
jiaxiya
-
name
:
jiaxiya
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:30.0.15
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:30.0.20
volumeMounts
:
volumeMounts
:
-
name
:
shared-data
-
name
:
shared-data
mountPath
:
/tmp
mountPath
:
/tmp
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
ports
:
ports
:
-
containerPort
:
80
-
containerPort
:
80
env
:
env
:
-
name
:
TZ
-
name
:
TZ
value
:
Asia/Shanghai
value
:
Asia/Shanghai
-
name
:
LANG
-
name
:
LANG
value
:
zh_CN.UTF-8
value
:
zh_CN.UTF-8
-
name
:
APP_ENV
-
name
:
APP_ENV
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
APP_ENV
key
:
APP_ENV
-
name
:
DB_HOST
-
name
:
DB_HOST
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
DB_HOST
key
:
DB_HOST
-
name
:
DB_PORT
-
name
:
DB_PORT
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
DB_PORT
key
:
DB_PORT
-
name
:
DB_PWD
-
name
:
DB_PWD
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
DB_PWD
key
:
DB_PWD
-
name
:
DB_USER
-
name
:
DB_USER
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
DB_USER
key
:
DB_USER
-
name
:
JIAXIYA_DB_NAME
-
name
:
JIAXIYA_DB_NAME
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
JIAXIYA_DB_NAME
key
:
JIAXIYA_DB_NAME
-
name
:
JIAXIYA_REDIS_DB
-
name
:
JIAXIYA_REDIS_DB
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
JIAXIYA_REDIS_DB
key
:
JIAXIYA_REDIS_DB
-
name
:
REDIS_HOST
-
name
:
REDIS_HOST
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
REDIS_HOST
key
:
REDIS_HOST
-
name
:
REDIS_PORT
-
name
:
REDIS_PORT
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
REDIS_PORT
key
:
REDIS_PORT
-
name
:
REDIS_PWD
-
name
:
REDIS_PWD
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
REDIS_PWD
key
:
REDIS_PWD
-
name
:
NODE_PORT
-
name
:
NODE_PORT
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
name
:
zhichan-config
name
:
zhichan-config
key
:
NODE_PORT
key
:
NODE_PORT
---
---
kind
:
Service
kind
:
Service
apiVersion
:
v1
apiVersion
:
v1
metadata
:
metadata
:
labels
:
labels
:
app
:
jiaxiya-service
app
:
jiaxiya-service
name
:
jiaxiya-service
name
:
jiaxiya-service
namespace
:
chaolai
namespace
:
chaolai
spec
:
spec
:
...
@@ -104,5 +103,4 @@ spec:
...
@@ -104,5 +103,4 @@ spec:
targetPort
:
80
targetPort
:
80
nodePort
:
29700
nodePort
:
29700
selector
:
selector
:
app
:
jiaxiya
app
:
jiaxiya
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