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
e5869995
Commit
e5869995
authored
Sep 21, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
12d2596f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
yamls/zhichan/front-deployment.yaml
+13
-15
No files found.
yamls/zhichan/front-deployment.yaml
View file @
e5869995
...
@@ -9,7 +9,7 @@ spec:
...
@@ -9,7 +9,7 @@ spec:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
app
:
frontpub
app
:
frontpub
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
...
@@ -20,24 +20,23 @@ spec:
...
@@ -20,24 +20,23 @@ spec:
-
name
:
shared-data
-
name
:
shared-data
emptyDir
:
{}
emptyDir
:
{}
containers
:
containers
:
-
name
:
frontpub
-
name
:
frontpub
image
:
registry.cn-beijing.aliyuncs.com/hantang2/staticngnix:0.0.2
image
:
registry.cn-beijing.aliyuncs.com/hantang2/staticpub:0.42.1
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
---
---
kind
:
Service
kind
:
Service
apiVersion
:
v1
apiVersion
:
v1
metadata
:
metadata
:
labels
:
labels
:
app
:
frontpub-service
app
:
frontpub-service
name
:
frontpub-service
name
:
frontpub-service
namespace
:
chaolai
namespace
:
chaolai
spec
:
spec
:
...
@@ -47,5 +46,4 @@ spec:
...
@@ -47,5 +46,4 @@ spec:
targetPort
:
80
targetPort
:
80
nodePort
:
21101
nodePort
:
21101
selector
:
selector
:
app
:
frontpub
app
:
frontpub
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