servala-portal/docs/deployment/deployment.yaml
Tobias Brunner e441005061
All checks were successful
Tests / test (push) Successful in 25s
Build and Deploy Staging / build (push) Successful in 1m8s
Build and Deploy Staging / deploy (push) Successful in 7s
Build and Deploy Antora Docs / build (push) Successful in 1m2s
Build and Deploy Antora Docs / deploy (push) Successful in 6s
correct url to codey instance
2025-04-04 17:07:43 +01:00

45 lines
996 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: docs
name: docs
spec:
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: docs
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: docs
spec:
containers:
- name: docs
image: servala.app.codey.ch/servala/servala-portal-docs:latest
imagePullPolicy: Always
readinessProbe:
httpGet:
path: /index.html
port: 8080
periodSeconds: 60
livenessProbe:
httpGet:
path: /index.html
port: 8080
periodSeconds: 60
initialDelaySeconds: 5
ports:
- name: http
containerPort: 8080
protocol: TCP
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 10m
memory: 32Mi