VOL-569: Create kubernetes deployment configuration for each voltha service
This update:
- organizes all Voltha components under their own namespace, "voltha". If
you have a script for deploying Voltha, then add namespace.yml at the top.
- adds host volume mounts for Consul's data and config directories
- fixes a bug in Envoy where it was aborting because it couldn't find Consul
even though it was getting the Voltha assignments from Etcd.
Change-Id: I45eaf2d65428c0184df06971ce3797b9122d3055
diff --git a/k8s/fluentd.yml b/k8s/fluentd.yml
index 0e4839b..c8bfa30 100644
--- a/k8s/fluentd.yml
+++ b/k8s/fluentd.yml
@@ -9,6 +9,7 @@
kind: Service
metadata:
name: fluentdactv
+ namespace: voltha
spec:
clusterIP: None
selector:
@@ -26,6 +27,7 @@
kind: Deployment
metadata:
name: fluentdactv
+ namespace: voltha
spec:
replicas: 1
template:
@@ -71,6 +73,7 @@
kind: Service
metadata:
name: fluentdstby
+ namespace: voltha
spec:
clusterIP: None
selector:
@@ -88,6 +91,7 @@
kind: Deployment
metadata:
name: fluentdstby
+ namespace: voltha
spec:
replicas: 1
template:
@@ -133,6 +137,7 @@
kind: Service
metadata:
name: fluentd
+ namespace: voltha
spec:
clusterIP: None
selector:
@@ -146,6 +151,7 @@
kind: Deployment
metadata:
name: fluentd
+ namespace: voltha
spec:
replicas: 3
template: