Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Commits
282f43d8
Commit
282f43d8
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Patches
Plain Diff
cange app to run
parent
bf2950b0
No related branches found
No related tags found
1 merge request
!128
Prepare k8s deployment
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/cd/20-service.yaml
+2
-3
2 additions, 3 deletions
build/cd/20-service.yaml
build/cd/40-deployment.yaml
+2
-4
2 additions, 4 deletions
build/cd/40-deployment.yaml
with
4 additions
and
7 deletions
build/cd/20-service.yaml
+
2
−
3
View file @
282f43d8
...
@@ -3,7 +3,7 @@ apiVersion: v1
...
@@ -3,7 +3,7 @@ apiVersion: v1
metadata
:
metadata
:
name
:
gosdn-develop
name
:
gosdn-develop
labels
:
labels
:
app
:
gosdn-develop
run
:
gosdn-develop
spec
:
spec
:
type
:
NodePort
type
:
NodePort
ports
:
ports
:
...
@@ -16,5 +16,4 @@ spec:
...
@@ -16,5 +16,4 @@ spec:
port
:
55055
port
:
55055
targetPort
:
55055
targetPort
:
55055
selector
:
selector
:
app
:
gosdn-develop
run
:
gosdn-develop
deployment
:
gosdn-develop
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
build/cd/40-deployment.yaml
+
2
−
4
View file @
282f43d8
...
@@ -2,13 +2,11 @@ apiVersion: apps/v1
...
@@ -2,13 +2,11 @@ apiVersion: apps/v1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
name
:
gosdn-develop
name
:
gosdn-develop
labels
:
app
:
gosdn-develop
spec
:
spec
:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
app
:
gosdn-develop
run
:
gosdn-develop
strategy
:
strategy
:
type
:
RollingUpdate
type
:
RollingUpdate
rollingUpdate
:
rollingUpdate
:
...
@@ -16,7 +14,7 @@ spec:
...
@@ -16,7 +14,7 @@ spec:
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
app
:
gosdn-develop
run
:
gosdn-develop
spec
:
spec
:
containers
:
containers
:
-
name
:
gosdn
-
name
:
gosdn
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment