diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000..e4f7822 --- /dev/null +++ b/deployment.yaml @@ -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 \ No newline at end of file