diff options
| author | Daneyon Hansen <danehans@cisco.com> | 2014-10-13 16:36:17 +0000 |
|---|---|---|
| committer | Daneyon Hansen <danehans@cisco.com> | 2014-10-16 19:50:04 +0000 |
| commit | de313681f94a75b3dbcb078fa023495e2c04617f (patch) | |
| tree | e7711d1e0347b40aedb71c29be2d1c99651f34ee /k8s | |
| parent | 558dcb5f56cf52a949fecc580ef1e359a1c6cb30 (diff) | |
| download | kolla-de313681f94a75b3dbcb078fa023495e2c04617f.tar.gz kolla-de313681f94a75b3dbcb078fa023495e2c04617f.zip | |
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
Diffstat (limited to 'k8s')
| -rw-r--r-- | k8s/pod/neutron-controller-pod.yaml | 30 | ||||
| -rw-r--r-- | k8s/service/neutron-server-service.yaml | 7 |
2 files changed, 37 insertions, 0 deletions
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 |
