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
7c698022
Commit
7c698022
authored
Aug 22, 2020
by
v_vjyjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
67ac5047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
48 deletions
+50
-48
yamls/zhichan/igirl-web-deployment.yaml
+50
-48
No files found.
yamls/zhichan/igirl-web-deployment.yaml
View file @
7c698022
...
...
@@ -9,91 +9,93 @@ spec:
replicas
:
1
selector
:
matchLabels
:
app
:
igirl
app
:
igirl
template
:
metadata
:
labels
:
app
:
igirl
spec
:
nodeSelector
:
girl1
:
tmp1
girl2
:
tmp2
restartPolicy
:
Always
containers
:
-
name
:
igirl
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:1.0.59
imagePullPolicy
:
IfNotPresent
ports
:
-
containerPort
:
80
env
:
-
name
:
TZ
value
:
Asia/Shanghai
-
name
:
LANG
value
:
zh_CN.UTF-8
-
name
:
APP_ENV
valueFrom
:
configMapKeyRef
:
-
name
:
igirl
image
:
registry.cn-beijing.aliyuncs.com/hantang2/imgshare:1.0.73
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
:
DB_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_HOST
-
name
:
DB_PORT
valueFrom
:
configMapKeyRef
:
-
name
:
DB_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_PORT
-
name
:
DB_PWD
valueFrom
:
configMapKeyRef
:
-
name
:
DB_PWD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_PWD
-
name
:
DB_USER
valueFrom
:
configMapKeyRef
:
-
name
:
DB_USER
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
DB_USER
-
name
:
IGIRL_DB_NAME
valueFrom
:
configMapKeyRef
:
-
name
:
IGIRL_DB_NAME
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
IGIRL_DB_NAME
-
name
:
IGIRL_REDIS_DB
valueFrom
:
configMapKeyRef
:
-
name
:
IGIRL_REDIS_DB
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
IGIRL_REDIS_DB
-
name
:
REDIS_HOST
valueFrom
:
configMapKeyRef
:
-
name
:
REDIS_HOST
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_HOST
-
name
:
REDIS_PORT
valueFrom
:
configMapKeyRef
:
-
name
:
REDIS_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PORT
-
name
:
REDIS_PWD
valueFrom
:
configMapKeyRef
:
-
name
:
REDIS_PWD
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
REDIS_PWD
-
name
:
NODE_PORT
valueFrom
:
configMapKeyRef
:
-
name
:
NODE_PORT
valueFrom
:
configMapKeyRef
:
name
:
zhichan-config
key
:
NODE_PORT
---
kind
:
Service
apiVersion
:
v1
metadata
:
labels
:
app
:
igirl-service
app
:
igirl-service
name
:
igirl-service
namespace
:
chaolai
annotations
:
plugins.konghq.com
:
prometheus
plugins.konghq.com
:
prometheus
spec
:
type
:
NodePort
ports
:
...
...
@@ -101,4 +103,4 @@ spec:
targetPort
:
80
nodePort
:
19100
selector
:
app
:
igirl
app
:
igirl
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