dgrove-oss commented on issue #145: Use YAML files deploy kafka package to OpenWhisk on K8s URL: https://github.com/apache/incubator-openwhisk-deploy-kube/pull/145#issuecomment-357724137 Two more small changes; otherwise looks good. 1. Need to give the kafkaprovider pods the access=db label (NetworkPolicy added in master). 2. Collect the logs from the pods when running under TravisCI to help debugging. ``` diff --git a/kubernetes/package-kafka/kafkaprovider.yml b/kubernetes/package-kafka/kafkaprovider.yml index 7c0db06..db9c51a 100644 --- a/kubernetes/package-kafka/kafkaprovider.yml +++ b/kubernetes/package-kafka/kafkaprovider.yml @@ -12,6 +12,7 @@ spec: metadata: labels: name: kafkaprovider + access: db spec: restartPolicy: Always containers: diff --git a/tools/travis/collect-logs.sh b/tools/travis/collect-logs.sh index 0798c5f..020626f 100755 --- a/tools/travis/collect-logs.sh +++ b/tools/travis/collect-logs.sh @@ -20,8 +20,10 @@ kubectl -n openwhisk logs controller-1 >& logs/controller-1.log kubectl -n openwhisk logs -lname=invoker -c docker-pull-runtimes >& logs/invoker-docker-pull.log kubectl -n openwhisk logs -lname=invoker -c invoker >& logs/invoker-invoker.log kubectl -n openwhisk logs -lname=nginx >& logs/nginx.log +kubectl -n openwhisk logs -lname=kafkaprovider >& logs/kafkaprovider.log kubectl -n openwhisk logs jobs/install-routemgmt >& logs/routemgmt.log kubectl -n openwhisk logs jobs/install-catalog >& logs/catalog.log +kubectl -n openwhisk logs jobs/kafkapkginstaller >& logs/kafkapkginstaller.log kubectl get pods --all-namespaces -o wide --show-all >& logs/all-pods.txt ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
