summaryrefslogtreecommitdiffstats
path: root/samples/scenarios/service_delivery_controller.yaml
diff options
context:
space:
mode:
authorearrage <eddie.arrage@huawei.com>2018-10-11 14:11:31 -0700
committerearrage <eddie.arrage@huawei.com>2018-10-11 14:12:31 -0700
commitb850f07e5abce7545243eeb674495b6960d6d105 (patch)
tree12e706711538298d7b01fbe11a2d4e15276d8f15 /samples/scenarios/service_delivery_controller.yaml
parentee2169ee4b8fb3539ad173fbc1557b54b2f2216f (diff)
Add nginx services control functionality
- Modify nginx server template to use clover-controller in clover-system namespace for file upload - Add ability to set nginx server paths and move uploaded files in clover-controller and set/get file upload metadata - Add cloverctl commands to set nginx server and lb configurations - Add example yaml files to configure nginx server and lb v1/v2 from cloverctl - Modify service definition for http-lb versions to distinguish the two versions for GRPC messaging from clover-controller in SDC deployment yaml Change-Id: I5c6866c5ff3de358939c58ea8c0bde64a69c6eca Signed-off-by: earrage <eddie.arrage@huawei.com>
Diffstat (limited to 'samples/scenarios/service_delivery_controller.yaml')
-rw-r--r--samples/scenarios/service_delivery_controller.yaml26
1 files changed, 24 insertions, 2 deletions
diff --git a/samples/scenarios/service_delivery_controller.yaml b/samples/scenarios/service_delivery_controller.yaml
index b9c3506..34e2df0 100644
--- a/samples/scenarios/service_delivery_controller.yaml
+++ b/samples/scenarios/service_delivery_controller.yaml
@@ -226,6 +226,7 @@ spec:
labels:
app: http-lb
version: v1
+ name: http-lb-v1
spec:
containers:
- name: http-lb
@@ -247,6 +248,7 @@ spec:
labels:
app: http-lb
version: v2
+ name: http-lb-v2
spec:
containers:
- name: http-lb
@@ -263,13 +265,33 @@ metadata:
app: http-lb
spec:
ports:
- - port: 50054
- name: grpc
- port: 9180
name: http
selector:
app: http-lb
---
+apiVersion: v1
+kind: Service
+metadata:
+ name: http-lb-v1
+spec:
+ ports:
+ - port: 50054
+ name: grpc
+ selector:
+ name: http-lb-v1
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: http-lb-v2
+spec:
+ ports:
+ - port: 50054
+ name: grpc
+ selector:
+ name: http-lb-v2
+---
apiVersion: extensions/v1beta1
kind: Deployment
metadata: