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
439f55bb
Commit
439f55bb
authored
Mar 04, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gongsibao.com:jiangyong/k8syml
parents
76a0fb7a
293c246b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
2 deletions
+104
-2
yamls/zhichan/bpo-channel-deployment copy.yaml
+102
-0
yamls/zhichan/bpo-web-deployment.yaml
+1
-1
yamls/zhichan/xggadmin-deployment.yaml
+1
-1
No files found.
yamls/zhichan/bpo-channel-deployment copy.yaml
0 → 100644
View file @
439f55bb
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
bpochannel
namespace
:
chaolai
labels
:
app
:
bpochannel
spec
:
replicas
:
1
selector
:
matchLabels
:
app
:
bpochannel
template
:
metadata
:
labels
:
app
:
bpochannel
spec
:
restartPolicy
:
Always
containers
:
-
name
:
bpochannel
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:23.0.1
imagePullPolicy
:
IfNotPresent
ports
:
-
containerPort
:
80
env
:
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
LANG
value
:
zh_CN.UTF-8
-
name
:
APP_ENV
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
APP_ENV
-
name
:
DB_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_HOST
-
name
:
DB_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_PORT
-
name
:
DB_PWD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_PWD
-
name
:
DB_USER
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_USER
-
name
:
BPOCHANNEL_DB_NAME
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
BPOCHANNEL_DB_NAME
-
name
:
BPOCHANNEL_REDIS_DB
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
BPOCHANNEL_REDIS_DB
-
name
:
REDIS_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_HOST
-
name
:
REDIS_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PORT
-
name
:
REDIS_PWD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PWD
-
name
:
NODE_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
NODE_PORT
---
kind
:
Service
apiVersion
:
v1
metadata
:
labels
:
app
:
bpochannel-service
name
:
bpochannel-service
namespace
:
chaolai
spec
:
type
:
NodePort
ports
:
-
port
:
80
targetPort
:
80
nodePort
:
21700
selector
:
app
:
bpochannel
yamls/zhichan/bpo-web-deployment.yaml
View file @
439f55bb
...
@@ -18,7 +18,7 @@ spec:
...
@@ -18,7 +18,7 @@ spec:
restartPolicy
:
Always
restartPolicy
:
Always
containers
:
containers
:
-
name
:
bpoweb
-
name
:
bpoweb
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:8.0.
49
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:8.0.
52
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
ports
:
ports
:
-
containerPort
:
80
-
containerPort
:
80
...
...
yamls/zhichan/xggadmin-deployment.yaml
View file @
439f55bb
...
@@ -18,7 +18,7 @@ spec:
...
@@ -18,7 +18,7 @@ spec:
restartPolicy
:
Always
restartPolicy
:
Always
containers
:
containers
:
-
name
:
xggadmin
-
name
:
xggadmin
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:16.0.2
0
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:16.0.2
1
imagePullPolicy
:
IfNotPresent
imagePullPolicy
:
IfNotPresent
ports
:
ports
:
-
containerPort
:
80
-
containerPort
:
80
...
...
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