aswi2022code-of-duty-gitlab/deployments/frontend-deployment.yaml @ 5b73f460
1 | 5b73f460 | Schwobik | apiVersion: apps/v1 |
---|---|---|---|
2 | kind: Deployment |
||
3 | metadata: |
||
4 | name: frontend-deployment |
||
5 | spec: |
||
6 | replikas: 1 |
||
7 | selector: |
||
8 | matchLabels: |
||
9 | component: app |
||
10 | template: |
||
11 | metadata: |
||
12 | labels: |
||
13 | component: app |
||
14 | spec: |
||
15 | containers: |
||
16 | - name: frontend |
||
17 | image: schwobik/frontend-app:1.1.1 |
||
18 | ports: |
||
19 | - containerPort: 3000 |