ad369d0f7e
pdbmux and cephrgw-operator now publish releases to GitHub, so their images and CRDs come from ghcr.io and the IUCLabs repo instead of the internal docker registry and Gitea raw URL. - pdbmux runs ghcr.io/iuclabs/pdbmux:v0.5.1 - cephrgw-operator runs ghcr.io/iuclabs/cephrgw-operator:v0.4.1 - cephrgw CRDs load from IUCLabs/cephrgw-operator at v0.4.1 via the artifactapi github remote Requires IUCLabs/terraform-artifactapi #9 applied first. --------- Co-authored-by: BenVincent <benvin@main.unkin.net> Reviewed-on: #607 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: pdbmux
|
|
namespace: pdbmux
|
|
annotations:
|
|
configmap.reloader.stakater.com/auto: "true"
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: pdbmux
|
|
strategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: pdbmux
|
|
spec:
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- name: pdbmux
|
|
image: ghcr.io/iuclabs/pdbmux:v0.5.1
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
protocol: TCP
|
|
envFrom:
|
|
# PDBMUX_LISTEN / PDBMUX_BACKENDS / PDBMUX_MERGE
|
|
- configMapRef:
|
|
name: pdbmux-env
|
|
optional: false
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: http
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 30
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: http
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
restartPolicy: Always
|