summaryrefslogtreecommitdiff
path: root/f3s/registry/deployment.yaml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-30 14:29:51 +0300
committerPaul Buetow <paul@buetow.org>2025-07-30 14:29:51 +0300
commit0801cfdf018b003f9cceddb5254fbe5f24d9232b (patch)
tree0394786ce9f4a194102e1d4227381f926904e3ab /f3s/registry/deployment.yaml
parent072fb48d79c3ccc2e97ddd3c803851a57e92c520 (diff)
initial registry
Diffstat (limited to 'f3s/registry/deployment.yaml')
-rw-r--r--f3s/registry/deployment.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/f3s/registry/deployment.yaml b/f3s/registry/deployment.yaml
new file mode 100644
index 0000000..70522f8
--- /dev/null
+++ b/f3s/registry/deployment.yaml
@@ -0,0 +1,29 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: docker-registry
+ namespace: infra
+ labels:
+ app: docker-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
+ volumeMounts:
+ - name: registry-storage
+ mountPath: /var/lib/registry
+ volumes:
+ - name: registry-storage
+ persistentVolumeClaim:
+ claimName: docker-registry-pvc