CI/CD
This commit is contained in:
parent
c2ee6fcad3
commit
e27105697a
31
deployment.yaml
Normal file
31
deployment.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: izaac-frontend
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: izaac-frontend
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: izaac-frontend
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: izaac-frontend
|
||||||
|
image: registry.izaac.pl:5000/izaac-frontend:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: izaac-frontend
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: izaac-frontend
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
Loading…
x
Reference in New Issue
Block a user