Kubernetes.K3s.installLog/services/Calckey/deployment-calckey.yaml

69 lines
1.7 KiB
YAML

# Source: calckey/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: calckey
labels:
helm.sh/chart: calckey-0.1.2
app.kubernetes.io/name: calckey
app.kubernetes.io/instance: calckey
app.kubernetes.io/version: "rc"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: calckey
app.kubernetes.io/instance: calckey
template:
metadata:
annotations:
checksum/secret-config: "fad5c186c2a77a5e28ea2a2b0d1818921d43b93ea6a67def51da8c8f64ba21de"
labels:
app.kubernetes.io/name: calckey
app.kubernetes.io/instance: calckey
spec:
serviceAccountName: calckey
securityContext:
{}
volumes:
- name: config-volume
secret:
secretName: calckey-config
containers:
- name: calckey
securityContext:
{}
image: "docker.io/thatonecalculator/calckey:rc"
imagePullPolicy: IfNotPresent
command:
- pnpm
- run
- start
env:
- name: "NODE_ENV"
value: "production"
volumeMounts:
- name: config-volume
mountPath: /calckey/.config
ports:
- name: http
containerPort: 3000
protocol: TCP
startupProbe:
httpGet:
path: /
port: http
failureThreshold: 30
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
{}