Files
formulation/k8s/deployment.yaml
nicholas 816b28e179
Build & Deploy Formulation / Build & Push Image (push) Successful in 15s
Build & Deploy Formulation / deploy (push) Successful in 12s
build and deploy Formulation application
Consolidate the application, culinary data model, read-only runtime, and registry-backed deployment.
2026-08-13 18:08:25 -05:00

61 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: recipe-book
labels:
app.kubernetes.io/name: recipe-book
spec:
replicas: 2
revisionHistoryLimit: 5
progressDeadlineSeconds: 180
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app.kubernetes.io/name: recipe-book
template:
metadata:
labels:
app.kubernetes.io/name: recipe-book
spec:
imagePullSecrets:
- name: gitea-registry
containers:
- name: recipe-book
image: git.uuard.com/nicholas/formulation
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: /app/
port: http
initialDelaySeconds: 2
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 6
livenessProbe:
httpGet:
path: /app/
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 2
failureThreshold: 3
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 100m
memory: 256Mi
securityContext:
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault