aboutsummaryrefslogtreecommitdiff
path: root/k8s
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-10-17 19:35:46 +0000
committerGerrit Code Review <review@openstack.org>2014-10-17 19:35:46 +0000
commitad615338cc141105253f772315a5905a86c91a42 (patch)
tree79e1e9c672fe7398ab31b9e4303ed6055780b722 /k8s
parent505a00a19748b6d753dcf4ebca87850989a4063b (diff)
parentde313681f94a75b3dbcb078fa023495e2c04617f (diff)
downloadkolla-ad615338cc141105253f772315a5905a86c91a42.tar.gz
kolla-ad615338cc141105253f772315a5905a86c91a42.zip
Merge "Adds Neutron Server Support"
Diffstat (limited to 'k8s')
-rw-r--r--k8s/pod/neutron-controller-pod.yaml30
-rw-r--r--k8s/service/neutron-server-service.yaml7
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