Add Dockerfile, K8s manifests, and ArgoCD app for OpenShift deployment

This commit is contained in:
Clawd
2026-02-26 03:11:56 +00:00
parent feda0fbb02
commit b00c8d3eb0
12 changed files with 160 additions and 6 deletions

47
manifests/deployment.yaml Normal file
View File

@@ -0,0 +1,47 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: clawrizon
namespace: clawrizon
labels:
app: clawrizon
spec:
replicas: 1
selector:
matchLabels:
app: clawrizon
template:
metadata:
labels:
app: clawrizon
spec:
containers:
- name: clawrizon
image: image-registry.openshift-image-registry.svc:5000/clawrizon/clawrizon:latest
ports:
- containerPort: 3333
env:
- name: DATA_DIR
value: /app/data
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
volumeMounts:
- name: data
mountPath: /app/data
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
capabilities:
drop:
- ALL
volumes:
- name: data
persistentVolumeClaim:
claimName: clawrizon-data