diff options
author | Jhon Honce <jhonce@redhat.com> | 2014-09-24 09:31:29 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2014-09-24 09:31:29 -0700 |
commit | f2e95d70969e2adb50e849430c196719e2d563bf (patch) | |
tree | c8698eaf54304a1f9843909076bbc6c14bf3463b /roles | |
parent | 5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 (diff) | |
parent | 3d57c7e4d02e8b769b8bb4b527a95fa819b77749 (diff) | |
download | openshift-f2e95d70969e2adb50e849430c196719e2d563bf.tar.gz openshift-f2e95d70969e2adb50e849430c196719e2d563bf.tar.bz2 openshift-f2e95d70969e2adb50e849430c196719e2d563bf.tar.xz openshift-f2e95d70969e2adb50e849430c196719e2d563bf.zip |
Merge pull request #1 from jwhonce/wip/registry
WIP Infra - Support for multiple GCE projects
Diffstat (limited to 'roles')
-rw-r--r-- | roles/kubernetes_kubelet/files/registry-service.json | 10 | ||||
-rw-r--r-- | roles/pods/files/pods/docker-registry.json | 30 |
2 files changed, 40 insertions, 0 deletions
diff --git a/roles/kubernetes_kubelet/files/registry-service.json b/roles/kubernetes_kubelet/files/registry-service.json new file mode 100644 index 000000000..96eaf261c --- /dev/null +++ b/roles/kubernetes_kubelet/files/registry-service.json @@ -0,0 +1,10 @@ +{ + "id": "dockerregistry", + "kind": "Service", + "apiVersion": "v1beta1", + "port": 8888, + "selector": { + "name": "docker-registry" + } +} + 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" + } +} |