From 46cbe821a23db393d5e0e9693f13c0e1bc482026 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 2 Oct 2014 23:35:27 -0700 Subject: Initial libvirt and nova-compute structure This lays the groundwork for the docker compute container. The compute node is composed of libvirt container and a nove-compute container. We are going to have to sort out how to get k8s to schedule this pod 1 per node. Change-Id: I1e06e4b5f5bde83b582edfc1094084a4ee353371 Partial-blueprint: kube-libvirt-container Partial-blueprint: kube-nova-container --- docker/nova-compute/nova-compute.json | 56 +++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docker/nova-compute/nova-compute.json (limited to 'docker/nova-compute/nova-compute.json') diff --git a/docker/nova-compute/nova-compute.json b/docker/nova-compute/nova-compute.json new file mode 100644 index 000000000..062a65d85 --- /dev/null +++ b/docker/nova-compute/nova-compute.json @@ -0,0 +1,56 @@ +{ + "id": "nova", + "desiredState": { + "manifest": { + "version": "v1beta1", + "id": "nova-1", + "containers": [ + { + "name": "nova-compute", + "image": "fedora-rdo-nova-compute", + "ports": [ + {"containerPort": 9292} + ], + "env": [ + { + "name": "DB_ROOT_PASSWORD", + "value": "password" + }, + { + "name": "HEAT_DB_PASSWORD", + "value": "novadbpassword" + }, + { + "name": "KEYSTONE_ADMIN_TOKEN", + "value": "ADMINTOKEN" + } + ] + }, + { + "name": "nova-libvirt", + "image": "fedora-rdo-nova-libvirt", + "ports": [ + {"containerPort": 9292} + ], + "env": [ + { + "name": "DB_ROOT_PASSWORD", + "value": "password" + }, + { + "name": "HEAT_DB_PASSWORD", + "value": "novadbpassword" + }, + { + "name": "KEYSTONE_ADMIN_TOKEN", + "value": "ADMINTOKEN" + } + ] + } + ] + } + }, + "labels": { + "name": "nova-compute" + } +} -- cgit v1.2.3