Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
75406134
Commit
75406134
authored
Aug 17, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjustment
parent
393fc340
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
16 deletions
+20
-16
redpacket-deployment.yml
redpacket/redpacket-deployment.yml
+0
-16
redpacket-server-deployment.yml
redpacket/redpacket-server-deployment.yml
+20
-0
No files found.
redpacket/redpacket-deployment.yml
deleted
100644 → 0
View file @
393fc340
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
redpacket-server-deployment
spec
:
replicas
:
1
# tells deployment to run 2 pods matching the template
template
:
# create pods using pod definition in this template
metadata
:
labels
:
app
:
redpacket
spec
:
containers
:
-
name
:
redpacket
image
:
192.168.4.36:5000/redpacket/redpacket
ports
:
-
containerPort
:
8080
\ No newline at end of file
redpacket/redpacket-server-deployment.yml
0 → 100644
View file @
75406134
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
redpacket-server
labels
:
name
:
redpacket-server
spec
:
replicas
:
2
template
:
metadata
:
name
:
redpacket-server
labels
:
name
:
redpacket
spec
:
containers
:
-
name
:
"
redpacket-server"
image
:
"
192.168.4.36:5000/redpacket/redpacket"
ports
:
-
containerPort
:
8080
-
containerPort
:
7031
\ No newline at end of file
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