feat: deploy artifactapi3 (#192)

just-enough to test terraform deployment and begin migration. have
change to cnpg for the database and a new bucket for storage

---------

Co-authored-by: Ben Vincent <ben@unkin.net>
Reviewed-on: #192
This commit was merged in pull request #192.
This commit is contained in:
2026-06-20 12:22:22 +10:00
parent ad2cdd3b63
commit 8cbd645332
14 changed files with 649 additions and 2 deletions
+55
View File
@@ -0,0 +1,55 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: artifactapi-ui
namespace: artifactapi
spec:
selector:
matchLabels:
app: artifactapi-ui
strategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: artifactapi-ui
spec:
containers:
- name: ui
image: git.unkin.net/unkin/artifactapi-ui:v3.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
name: http
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /
port: http
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: http
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 5
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 50m
memory: 64Mi
restartPolicy: Always