Create kubeless_kafka_setup.sh

This commit is contained in:
uckingleaf 2019-04-03 23:45:54 +02:00 committed by GitHub
parent d835e7da33
commit 3d94bf9a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/bash
kubectl create -f kafka_pv.yml
kubectl create -f zoo_pv.yml
export RELEASE=$(curl -s https://api.github.com/repos/kubeless/kafka-trigger/releases/latest | grep tag_name | cut -d '"' -f 4)
kubectl create -f https://github.com/kubeless/kafka-trigger/releases/download/$RELEASE/kafka-zookeeper-$RELEASE.yaml