Commit 34e2e698 authored by FabiusE's avatar FabiusE

Changed reactymlfile to kubernetes.yaml

parent 51cb7b8d
apiVersion: apps/v1
kind: Deployment
metadata:
name: app
name: myapp
spec:
selector:
matchLabels:
app: app
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: app
- name: myapp
image: fabiuse/reactdocker:latest
resources:
limits:
......@@ -25,20 +25,20 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: app
name: service
spec:
selector:
app: app
app: Service
ports:
- port: 8080
---
apiVersion: v1
kind: Service
metadata:
name: app
name: loadbalancer
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: app
app: LoadBalancer
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