Add Kubernetes manifests for self-hosted services

This commit is contained in:
2026-06-28 13:53:49 +03:00
committed by ExQz
parent eaba9643a0
commit 3b1998f376
32 changed files with 727 additions and 0 deletions
@@ -0,0 +1,31 @@
# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: docker-registry
namespace: registry
spec:
replicas: 1
selector:
matchLabels:
app: docker-registry
template:
metadata:
labels:
app: docker-registry
spec:
containers:
- name: registry
image: registry:2
ports:
- containerPort: 5000
env:
- name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY
value: /var/lib/registry
volumeMounts:
- name: registry-storage
mountPath: /var/lib/registry
volumes:
- name: registry-storage
persistentVolumeClaim:
claimName: registry-pvc