Skip to content

Commit 5df9955

Browse files
committed
chore: add fleet files
1 parent 5e6a75b commit 5df9955

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.fleet/frontend-deployment.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: frontend
5+
spec:
6+
selector:
7+
matchLabels:
8+
app: codex
9+
tier: frontend
10+
replicas: 1
11+
template:
12+
metadata:
13+
labels:
14+
app: codex
15+
tier: frontend
16+
spec:
17+
containers:
18+
- name: app
19+
image: ghcr.io/aulasoftwarelibre/codex:v1.0
20+
ports:
21+
- containerPort: 3000

.fleet/frontend-service.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: frontend
5+
labels:
6+
app: codex
7+
tier: frontend
8+
spec:
9+
type: NodePort
10+
ports:
11+
- port: 3000
12+
selector:
13+
app: codex
14+
tier: frontend

0 commit comments

Comments
 (0)