summaryrefslogtreecommitdiffstats
path: root/roles/pods
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pods')
-rw-r--r--roles/pods/files/pods/docker-registry.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/pods/files/pods/docker-registry.json b/roles/pods/files/pods/docker-registry.json
new file mode 100644
index 000000000..388a1015e
--- /dev/null
+++ b/roles/pods/files/pods/docker-registry.json
@@ -0,0 +1,30 @@
+{
+ "kind": "Pod",
+ "version": "v1beta1",
+ "desiredState": {
+ "manifest": {
+ "version": "v1beta1",
+ "containers": [{
+ "name": "docker-registry",
+ "image": "registry",
+ "volumeMounts": [{
+ "name": "data",
+ "mountPath": "/var/lib/docker-registry"
+ }],
+ "ports": [{
+ "containerPort": 5000,
+ "hostPort": 9999
+ }]
+ }],
+ "volumes": [{
+ "name": "data",
+ "source": {
+ "emptyDir": true
+ }
+ }]
+ }
+ },
+ "labels": {
+ "name": "docker-registry"
+ }
+}