Commit 076101d3 authored by FabiusE's avatar FabiusE

Changed Ports now it is available

parent b48147ef
......@@ -20,24 +20,26 @@ spec:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: service-reactapp
name: myapp
namespace: default
labels:
app: myapp
spec:
selector:
app: Service
ports:
- port: 8080
- port: 80
protocol: TCP
selector:
app: myapp
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: reactapp
name: myapp
namespace: default
spec:
rules:
......@@ -45,9 +47,10 @@ spec:
http:
paths:
- backend:
serviceName: service-reactapp
servicePort: 8080
serviceName: myapp
servicePort: 80
path: /
tls:
- hosts:
- masterthesis.online
- hosts:
- masterthesis.online
secretName: testsecret-tls
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