[8055]
This update adds kubernetes deployment files for the OFagent and fluentd services.

The OFagent calls get_my_containers_name with the assumption that the HOSTNAME
environment variable contains the docker container's ID, which does not appear
to be the case for kuberbetes. In kubernetes a container's HOSTNAME is its pod
name. Feeding a kubernetes pod name into the docker API used by
get_my_containers_name triggers an exception. This is the reason behind the
code changes to OFagent.

The kubernetes config files in this submission still use the old image naming
convention. The names in these and all the other kubernetes deployment files
will be changed to conform to the new convention in a separate update.

Change-Id: I3eecfdcc8bba070ffe3e7372f195cf15f0cdcd56
diff --git a/k8s/vcore_for_consul.yml b/k8s/vcore_for_consul.yml
index 4052c80..40b3631 100644
--- a/k8s/vcore_for_consul.yml
+++ b/k8s/vcore_for_consul.yml
@@ -31,30 +31,29 @@
         app: vcore
     spec:
       containers:
-        - name: voltha
-          image: "cord/voltha:latest"
-          env:
-            - name: NAMESPACE
-              valueFrom:
-                fieldRef:
-                  fieldPath: metadata.namespace
-          args:
-            - "voltha/voltha/main.py"
-            - "-v"
-            - "--consul=consul.$(NAMESPACE).svc.cluster.local:8500"
-            - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
-            - "--rest-port=8880"
-            - "--grpc-port=50556"
-            - "--interface=eth1"
-            - "--backend=consul"
-            - "--pon-subnet=172.29.19.0/24"
-          ports:
-            - containerPort: 8880
-              name: rest-port
-            - containerPort: 18880
-              name: mystery-port
-            - containerPort: 50556
-              name: grpc-port
-          imagePullPolicy: Never
-
-
+      - name: voltha
+        image: "cord/voltha:latest"
+        imagePullPolicy: Never
+        ports:
+        - containerPort: 8880
+          name: rest-port
+        - containerPort: 18880
+          name: mystery-port
+        - containerPort: 50556
+          name: grpc-port
+        env:
+        - name: NAMESPACE
+          valueFrom:
+            fieldRef:
+              fieldPath: metadata.namespace
+        args:
+        - "voltha/voltha/main.py"
+        - "-v"
+        - "--consul=consul.$(NAMESPACE).svc.cluster.local:8500"
+        - "--kafka=kafka.$(NAMESPACE).svc.cluster.local"
+        - "--fluentd=fluentd.$(NAMESPACE).svc.cluster.local:24224"
+        - "--rest-port=8880"
+        - "--grpc-port=50556"
+        - "--interface=eth1"
+        - "--backend=consul"
+        - "--pon-subnet=172.29.19.0/24"