Commit b48147ef authored by FabiusE's avatar FabiusE

Changed loadBlancer against Ingress

parent 3233158a
......@@ -26,7 +26,7 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: service
name: service-reactapp
namespace: default
spec:
selector:
......@@ -34,14 +34,20 @@ spec:
ports:
- port: 8080
---
apiVersion: v1
kind: Service
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: loadbalancer
name: reactapp
namespace: default
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: LoadBalancer
rules:
- host: masterthesis.online
http:
paths:
- backend:
serviceName: service-reactapp
servicePort: 8080
path: /
tls:
- hosts:
- masterthesis.online
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