aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2019-11-01 00:30:30 +0000
committerMarco Platania <platania@research.att.com>2019-11-14 14:10:09 +0000
commit53c9fab327d1d9a079154b01242cf0930c106989 (patch)
tree4cc6bc25a290c6ac3e6028122192de1dd9493646 /vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml
parentfb9b7baa506e5c92bc243a30364e9f72ecd9c3f1 (diff)
First working draft of kafka for inference app
Created a python based inference app which can query a given metrics for a given duration from kafka topic. Consumer runs on separate thread and doesnt interfere with the main app. Issue-ID: ONAPARC-528 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ic84ea137b134385246bf11dee2ed6d34b593b956
Diffstat (limited to 'vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml')
-rw-r--r--vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml
new file mode 100644
index 00000000..e8891c6b
--- /dev/null
+++ b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/skaffold.yaml
@@ -0,0 +1,19 @@
+apiVersion: skaffold/v1beta11
+kind: Config
+build:
+ tagPolicy:
+ sha256: {}
+ # defines where to find the code at build time and where to push the resulting image
+ artifacts:
+ - context: src
+ image: python-kafkaconsumer-inference-app
+# defines the Kubernetes manifests to deploy on each run
+deploy:
+ kubectl:
+ manifests:
+ - kubernetes-manifests/**.yaml
+# use the cloudbuild profile to build images using Google Cloud Build
+profiles:
+- name: cloudbuild
+ build:
+ googleCloudBuild: {}