diff --git a/k8s/replication/nova-compute-replication.json b/k8s/replication/nova-compute-replication.json new file mode 100644 index 0000000000..5acf70d583 --- /dev/null +++ b/k8s/replication/nova-compute-replication.json @@ -0,0 +1,66 @@ +{ + "apiVersion": "v1beta1", + "desiredState": { + "podTemplate": { + "desiredState": { + "manifest": { + "containers": [ + { + "name": "nova-compute", + "image": "kollaglue/fedora-rdo-nova-compute", + "env": [ + { + "name": "DB_ROOT_PASSWORD", + "value": "password" + }, + { + "name": "NOVA_DB_PASSWORD", + "value": "novadbpassword" + }, + { + "name": "KEYSTONE_ADMIN_TOKEN", + "value": "ADMINTOKEN" + } + ] + }, + { + "name": "nova-libvirt", + "image": "kollaglue/fedora-rdo-nova-libvirt", + "ports": [ + {"containerPort": 16509} + ], + "env": [ + { + "name": "DB_ROOT_PASSWORD", + "value": "password" + }, + { + "name": "NOVA_DB_PASSWORD", + "value": "novadbpassword" + }, + { + "name": "KEYSTONE_ADMIN_TOKEN", + "value": "ADMINTOKEN" + } + ] + }, + ], + "id": "nova-compute-controller", + "version": "v1beta1" + } + }, + "labels": { + "name": "nova-compute" + } + }, + "replicaSelector": { + "name": "nova-compute" + }, + "replicas": 2 + }, + "id": "nova-compute-controller", + "kind": "ReplicationController", + "labels": { + "name": "nova-compute" + } +}