From ed313e4f2e69ebe08ac1444462bc515fdf713cd9 Mon Sep 17 00:00:00 2001 From: Ryan Hallisey Date: Tue, 14 Oct 2014 14:12:00 +0000 Subject: [PATCH] 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 --- k8s/service/nova-api-service.yaml | 7 +++++++ k8s/service/nova-ec2-api-service.yaml | 7 +++++++ k8s/service/nova-metadata-api-service.yaml | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 k8s/service/nova-api-service.yaml create mode 100644 k8s/service/nova-ec2-api-service.yaml create mode 100644 k8s/service/nova-metadata-api-service.yaml diff --git a/k8s/service/nova-api-service.yaml b/k8s/service/nova-api-service.yaml new file mode 100644 index 0000000000..40bd63a7b7 --- /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 0000000000..fe2db8ff51 --- /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 0000000000..5783b2fddd --- /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