All manifests now use git.guildhouse.dev/guildhouse/substrate/<component>:v0.2.0 instead of git.guildhouse.dev/tking/<component>:v0.1.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Tyler J King <tking@guildhouse.dev>
72 lines
2 KiB
YAML
72 lines
2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ceremony-service
|
|
namespace: guildhall
|
|
labels:
|
|
app.kubernetes.io/name: ceremony-service
|
|
app.kubernetes.io/part-of: guildhouse
|
|
app.kubernetes.io/component: ceremony-engine
|
|
app.kubernetes.io/managed-by: manual
|
|
app.kubernetes.io/version: v0.1.0
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxSurge: 1
|
|
maxUnavailable: 0
|
|
selector:
|
|
matchLabels:
|
|
app: ceremony-service
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ceremony-service
|
|
app.kubernetes.io/name: ceremony-service
|
|
app.kubernetes.io/part-of: guildhouse
|
|
app.kubernetes.io/component: ceremony-engine
|
|
app.kubernetes.io/version: v0.1.0
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: guildhall-registry
|
|
containers:
|
|
- name: ceremony-service
|
|
image: git.guildhouse.dev/guildhouse/substrate/ceremony-service:v0.2.0
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 50053
|
|
name: grpc
|
|
protocol: TCP
|
|
env:
|
|
- name: RUST_LOG
|
|
value: info
|
|
- name: LISTEN_ADDR
|
|
value: "0.0.0.0:50053"
|
|
- name: DATABASE_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: ceremony-service-secrets
|
|
key: DATABASE_URL
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 50053
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 50053
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 30
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
terminationGracePeriodSeconds: 15
|