Files
buzz/k8s/deployment-backend.yaml
T
dmgnr 073004963b
Build and Push Image / build-backend (push) Successful in 43s
Build and Push Image / build-frontend (push) Successful in 1m49s
Build and Push Image / push (push) Successful in 18m11s
ci: switch registry host
2026-07-05 08:34:45 +00:00

43 lines
875 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: backend
namespace: buzz
labels:
app: buzz
component: backend
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app: buzz
component: backend
template:
metadata:
labels:
app: buzz
component: backend
spec:
terminationGracePeriodSeconds: 5
containers:
- name: backend
image: registry.neko-piranha.ts.net/astral/buzz:backend
env:
- name: NO_AUTH_CHECK
value: "true"
envFrom:
- secretRef:
name: buzz-env
resources:
limits:
cpu: "1"
memory: 512Mi
requests:
cpu: 250m
memory: 256Mi