aboutsummaryrefslogtreecommitdiff
path: root/k8s/pod
diff options
context:
space:
mode:
authorDaneyon Hansen <danehans@cisco.com>2014-10-25 03:53:36 +0000
committerDaneyon Hansen <danehans@cisco.com>2014-11-17 17:47:40 +0000
commit05f352a12556e08ecf10155399b29360c491b76e (patch)
tree3b0e5ba4bceed901463040e17d01831d3ee04f83 /k8s/pod
parentb57caa7b67ed1747c7046afa41d1cbbee5802b69 (diff)
downloadkolla-05f352a12556e08ecf10155399b29360c491b76e.tar.gz
kolla-05f352a12556e08ecf10155399b29360c491b76e.zip
Adds support for Functional Nova-Network
Previously, the nova-network service was not fully functional. This patch adds multi-interface support to the nova-network container. The eth0 configuration is moved to a bridge (br100 per nova defaults), and configures eth0 and eth1 as bridged interfaces. eth0 is used for the nova-flat network and eth1 for foating-ip's. This model is identical to typical bare-metal nova-network deployments. The patch depends on the following patch to kube-heat template that provides multiple interfaces per minion: https://github.com/larsks/heat-kubernetes/pull/8 Rebased. Fixed merge conflict with k8s/pod/nova-compute-pod.yaml Change-Id: Ieb59f397981a226555ce55ca621ef578b987e3c6
Diffstat (limited to 'k8s/pod')
-rw-r--r--k8s/pod/nova-compute-pod.yaml62
1 files changed, 32 insertions, 30 deletions
diff --git a/k8s/pod/nova-compute-pod.yaml b/k8s/pod/nova-compute-pod.yaml
index 446324010..6b7a72d57 100644
--- a/k8s/pod/nova-compute-pod.yaml
+++ b/k8s/pod/nova-compute-pod.yaml
@@ -1,37 +1,39 @@
desiredState:
manifest:
containers:
- - env:
- - name: DB_ROOT_PASSWORD
- value: password
- - name: NOVA_DB_PASSWORD
- value: novadbpassword
- - name: KEYSTONE_ADMIN_TOKEN
- value: ADMINTOKEN
- image: kollaglue/fedora-rdo-nova-compute
- name: nova-compute
- - env:
- - name: DB_ROOT_PASSWORD
- value: password
- - name: NOVA_DB_PASSWORD
- value: novadbpassword
- - name: KEYSTONE_ADMIN_TOKEN
- value: ADMINTOKEN
- image: kollaglue/fedora-rdo-nova-libvirt
- name: nova-libvirt
- ports:
- - containerPort: 16509
- - env:
- - name: DB_ROOT_PASSWORD
- value: password
- - name: CEILOMETER_DB_PASSWORD
- value: ceilometerdbpassword
- - name: KEYSTONE_ADMIN_TOKEN
- value: ADMINTOKEN
- image: kollaglue/fedora-rdo-ceilometer-compute
- name: ceilometer-compute
+ - name: nova-compute
+ env:
+ - name: DB_ROOT_PASSWORD
+ value: password
+ - name: NOVA_DB_PASSWORD
+ value: novadbpassword
+ - name: KEYSTONE_ADMIN_TOKEN
+ value: ADMINTOKEN
+ image: kollaglue/fedora-rdo-nova-compute
+ privileged: true
+ - name: nova-network
+ env:
+ - name: DB_ROOT_PASSWORD
+ value: password
+ - name: NOVA_DB_PASSWORD
+ value: novadbpassword
+ - name: KEYSTONE_ADMIN_TOKEN
+ value: ADMINTOKEN
+ - name: CONFIG_NETWORK
+ value: true
+ image: kollaglue/fedora-rdo-nova-network
+ privileged: true
+ - name: ceilometer-compute
+ env:
+ - name: DB_ROOT_PASSWORD
+ value: password
+ - name: CEILOMETER_DB_PASSWORD
+ value: ceilometerdbpassword
+ - name: KEYSTONE_ADMIN_TOKEN
+ value: ADMINTOKEN
+ image: kollaglue/fedora-rdo-ceilometer-compute
id: nova-1
version: v1beta1
-id: nova
+id: nova-compute
labels:
name: nova-compute