anydrop/k8s/web.yml
ordinarthur 9d6e4da4ae
Some checks failed
Build & Deploy / build-and-deploy (push) Failing after 8s
feat: initial commit with full deployment setup
Includes React PWA frontend, WebSocket signaling server, shared types,
K8s manifests, Gitea CI/CD workflow, nginx config, and Dockerfiles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 10:30:45 +02:00

57 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: anydrop-web
namespace: anydrop
spec:
replicas: 1
selector:
matchLabels:
app: anydrop-web
template:
metadata:
labels:
app: anydrop-web
spec:
containers:
- name: anydrop-web
image: git.arthurbarre.fr/ordinarthur/anydrop-web:latest
ports:
- containerPort: 80
livenessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 5
periodSeconds: 30
readinessProbe:
httpGet:
path: /
port: 80
initialDelaySeconds: 3
periodSeconds: 10
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "64Mi"
cpu: "100m"
imagePullSecrets:
- name: gitea-registry
---
apiVersion: v1
kind: Service
metadata:
name: anydrop-web
namespace: anydrop
spec:
type: NodePort
selector:
app: anydrop-web
ports:
- port: 80
targetPort: 80
nodePort: 30097