VOL-569: Create kubernetes deployment configuration for each voltha service
This update adds kubernetes deployment files for kafka/zookeeper.
Change-Id: I00d4d453de64dc4976d32a76c11f4b3fcb978d2c
diff --git a/k8s/vcore_for_consul.yml b/k8s/vcore_for_consul.yml
index 09b4c53..4052c80 100644
--- a/k8s/vcore_for_consul.yml
+++ b/k8s/vcore_for_consul.yml
@@ -34,10 +34,6 @@
- name: voltha
image: "cord/voltha:latest"
env:
- - name: POD_IP
- valueFrom:
- fieldRef:
- fieldPath: status.podIP
- name: NAMESPACE
valueFrom:
fieldRef:
@@ -45,8 +41,8 @@
args:
- "voltha/voltha/main.py"
- "-v"
- - "--consul=consul:8500"
- - "--kafka=kafka"
+ - "--consul=consul.$(NAMESPACE).svc.cluster.local:8500"
+ - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
- "--rest-port=8880"
- "--grpc-port=50556"
- "--interface=eth1"