Create kubeless_kafka_setup.sh
This commit is contained in:
parent
d835e7da33
commit
3d94bf9a39
5
deploy/kubeless_kafka_setup.sh
Normal file
5
deploy/kubeless_kafka_setup.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user