Skip to content
Snippets Groups Projects
Commit 282f43d8 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

cange app to run

parent bf2950b0
No related branches found
No related tags found
1 merge request!128Prepare k8s deployment
...@@ -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
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment