Commit e027a0c4 authored by manuel's avatar manuel

fixed deployment file

parent 331f03d4
...@@ -12,14 +12,6 @@ spec: ...@@ -12,14 +12,6 @@ spec:
targetPort: 5000 targetPort: 5000
nodePort: 30401 nodePort: 30401
protocol: TCP protocol: TCP
volumeMounts:
- mountPath: /srv/articonf
name: articonf
volumes:
- name: articonf
hostPath:
path: /srv/articonf
type: Directory
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
...@@ -40,6 +32,14 @@ spec: ...@@ -40,6 +32,14 @@ spec:
image: alexx882/rest-gateway image: alexx882/rest-gateway
ports: ports:
- containerPort: 5000 - containerPort: 5000
volumeMounts:
- mountPath: /srv/articonf
name: articonf
volumes:
- name: articonf
hostPath:
path: /srv/articonf
type: Directory
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment