From de313681f94a75b3dbcb078fa023495e2c04617f Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Mon, 13 Oct 2014 16:36:17 +0000 Subject: Adds Neutron Server Support Previously Kolla did not support Neutron. This patch provides initial Neutron support by implementing neutron-server functionality. It also creates a neutron-base image that provides common config and packages for all Neutron-based services. Partially Implements: Blueprint Kubernetes Neutron Container Change-Id: I2399a1331992fae0f387f01e5b5c1c1d34f0637d --- k8s/pod/neutron-controller-pod.yaml | 30 ++++++++++++++++++++++++++++++ k8s/service/neutron-server-service.yaml | 7 +++++++ 2 files changed, 37 insertions(+) create mode 100644 k8s/pod/neutron-controller-pod.yaml create mode 100644 k8s/service/neutron-server-service.yaml (limited to 'k8s') diff --git a/k8s/pod/neutron-controller-pod.yaml b/k8s/pod/neutron-controller-pod.yaml new file mode 100644 index 000000000..a3262a365 --- /dev/null +++ b/k8s/pod/neutron-controller-pod.yaml @@ -0,0 +1,30 @@ +desiredState: + manifest: + volumes: + - name: neutron-data + source: + emptyDir: {} + containers: + env: + - name: DB_ROOT_PASSWORD + value: password + - name: NEUTRON_DB_PASSWORD + value: password + - name: NEUTRON_KEYSTONE_PASSWORD + value: password + - name: KEYSTONE_ADMIN_TOKEN + value: ADMINTOKEN + - name: NOVA_ADMIN_PASSWORD + value: kolla + image: danehans/fedora-rdo-neutron-server + name: neutron-server + ports: + - containerPort: 9696 + volumeMounts: + - name: neutron-data + mountPath: /var/lib/neutron + id: neutron-controller-1 + version: v1beta1 +id: neutron-controller +labels: + name: neutron diff --git a/k8s/service/neutron-server-service.yaml b/k8s/service/neutron-server-service.yaml new file mode 100644 index 000000000..148ea4da2 --- /dev/null +++ b/k8s/service/neutron-server-service.yaml @@ -0,0 +1,7 @@ +id: neutron-server +kind: Service +apiVersion: v1beta1 +port: 9696 +containerPort: 9696 +selector: + name: neutron-server -- cgit v1.2.3