48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: docs
|
|
namespace: docs
|
|
spec:
|
|
replicas: 2
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxUnavailable: 0
|
|
maxSurge: 1
|
|
selector:
|
|
matchLabels:
|
|
app: docs
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: docs
|
|
spec:
|
|
containers:
|
|
- name: docs
|
|
image: registry.ops.eblu.me/blumeops/quartz
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
env:
|
|
- name: DOCS_RELEASE_URL
|
|
value: "https://forge.eblu.me/eblume/blumeops/releases/download/v1.13.0/docs-v1.13.0.tar.gz"
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "10m"
|
|
limits:
|
|
memory: "128Mi"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: 80
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: 80
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|