Skip to content

Commit

Permalink
chore: add fleet files
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomez committed Nov 16, 2024
1 parent 5e6a75b commit 5df9955
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .fleet/frontend-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: frontend
spec:
selector:
matchLabels:
app: codex
tier: frontend
replicas: 1
template:
metadata:
labels:
app: codex
tier: frontend
spec:
containers:
- name: app
image: ghcr.io/aulasoftwarelibre/codex:v1.0
ports:
- containerPort: 3000
14 changes: 14 additions & 0 deletions .fleet/frontend-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
app: codex
tier: frontend
spec:
type: NodePort
ports:
- port: 3000
selector:
app: codex
tier: frontend

0 comments on commit 5df9955

Please sign in to comment.