Files
ermnvldmr.com/ci/k8s/apps/docs/deployment.yaml
T

49 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: docs
namespace: com-ermnvldmr
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app: docs
template:
metadata:
labels:
app: docs
spec:
containers:
- name: docs
image: git.ermnvldmr.com/deytenit/ermnvldmr.com/docs:sha-91f5245
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
resources:
requests:
cpu: 20m
memory: 32Mi
limits:
cpu: 100m
memory: 128Mi
readinessProbe:
httpGet:
path: /en/
port: 80
initialDelaySeconds: 3
periodSeconds: 5
timeoutSeconds: 2
livenessProbe:
httpGet:
path: /en/
port: 80
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 2