From 24dca1e12485ad9ed28a90d1fb878505d920732f Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Wed, 19 Nov 2014 12:21:30 -0500 Subject: Implement zaqar container The current implementation has been configured to use sqlite instead of mongodb, since that container service is not yet available. Also, there are no Icehouse RPMs available, so the Juno RPMs are fetched and manually installed. Implements: blueprint kube-zaqar-container Change-Id: Ie875ab43ad3db92ae2712492ee151fbad0fec3cc --- k8s/pod/zaqar-pod.yaml | 19 +++++++++++++++++++ k8s/service/zaqar-server-service.yaml | 7 +++++++ 2 files changed, 26 insertions(+) create mode 100644 k8s/pod/zaqar-pod.yaml create mode 100644 k8s/service/zaqar-server-service.yaml (limited to 'k8s') diff --git a/k8s/pod/zaqar-pod.yaml b/k8s/pod/zaqar-pod.yaml new file mode 100644 index 000000000..b2564d52d --- /dev/null +++ b/k8s/pod/zaqar-pod.yaml @@ -0,0 +1,19 @@ +desiredState: + manifest: + containers: + - env: + - name: ZAQAR_DB_PASSWORD + value: password + - name: ZAQAR_KEYSTONE_PASSWORD + value: password + - name: KEYSTONE_ADMIN_TOKEN + value: ADMINTOKEN + image: kollaglue/fedora-rdo-zaqar + name: zaqar-server + ports: + - containerPort: 8004 + id: zaqar-1 + version: v1beta1 +id: zaqar +labels: + name: zaqar diff --git a/k8s/service/zaqar-server-service.yaml b/k8s/service/zaqar-server-service.yaml new file mode 100644 index 000000000..bbb351f22 --- /dev/null +++ b/k8s/service/zaqar-server-service.yaml @@ -0,0 +1,7 @@ +apiVersion: v1beta1 +containerPort: 8888 +id: zaqar-server +kind: Service +port: 8888 +selector: + name: zaqar -- cgit v1.2.3