aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hallisey <rhallise@redhat.com>2014-10-14 14:12:00 +0000
committerRyan Hallisey <rhallise@redhat.com>2014-10-14 14:16:05 +0000
commited313e4f2e69ebe08ac1444462bc515fdf713cd9 (patch)
tree5bacf10b38cad1ae8141c11f2db7052022c2501c
parentcd13790136de3ada1973ba639eff1bcf1fb5e544 (diff)
downloadkolla-ed313e4f2e69ebe08ac1444462bc515fdf713cd9.tar.gz
kolla-ed313e4f2e69ebe08ac1444462bc515fdf713cd9.zip
Add kube services
Add kubernetes services so that the nova controller can use the ports 8773, 8774, and 8775, which correspond with nova-api, nova-ec2-api, and metadata-api. Change-Id: Idb083e2e0745c6587f9fa4f01a068727a435c2c6
-rw-r--r--k8s/service/nova-api-service.yaml7
-rw-r--r--k8s/service/nova-ec2-api-service.yaml7
-rw-r--r--k8s/service/nova-metadata-api-service.yaml7
3 files changed, 21 insertions, 0 deletions
diff --git a/k8s/service/nova-api-service.yaml b/k8s/service/nova-api-service.yaml
new file mode 100644
index 000000000..40bd63a7b
--- /dev/null
+++ b/k8s/service/nova-api-service.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1beta1
+containerPort: 8774
+id: nova-api
+kind: Service
+port: 8774
+selector:
+ name: nova-controller
diff --git a/k8s/service/nova-ec2-api-service.yaml b/k8s/service/nova-ec2-api-service.yaml
new file mode 100644
index 000000000..fe2db8ff5
--- /dev/null
+++ b/k8s/service/nova-ec2-api-service.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1beta1
+containerPort: 8773
+id: nova-ec2-api
+kind: Service
+port: 8773
+selector:
+ name: nova-controller
diff --git a/k8s/service/nova-metadata-api-service.yaml b/k8s/service/nova-metadata-api-service.yaml
new file mode 100644
index 000000000..5783b2fdd
--- /dev/null
+++ b/k8s/service/nova-metadata-api-service.yaml
@@ -0,0 +1,7 @@
+apiVersion: v1beta1
+containerPort: 8775
+id: nova-metadata-api
+kind: Service
+port: 8775
+selector:
+ name: nova-controller