diff --git a/.fleet/frontend-deployment.yaml b/.fleet/frontend-deployment.yaml new file mode 100644 index 0000000..f3f1121 --- /dev/null +++ b/.fleet/frontend-deployment.yaml @@ -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 diff --git a/.fleet/frontend-service.yaml b/.fleet/frontend-service.yaml new file mode 100644 index 0000000..520ee2f --- /dev/null +++ b/.fleet/frontend-service.yaml @@ -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