Update kubeless_setup.sh
This commit is contained in:
parent
db4d5ba123
commit
88d920ba39
@ -2,4 +2,10 @@
|
|||||||
RELEASE=$(curl -s https://api.github.com/repos/kubeless/kubeless/releases/latest | grep tag_name | cut -d '"' -f 4)
|
RELEASE=$(curl -s https://api.github.com/repos/kubeless/kubeless/releases/latest | grep tag_name | cut -d '"' -f 4)
|
||||||
kubectl create ns kubeless
|
kubectl create ns kubeless
|
||||||
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-$RELEASE.yaml
|
kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-$RELEASE.yaml
|
||||||
#kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-non-rbac-$RELEASE.yaml
|
#kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-non-rbac-$RELEASE.yaml
|
||||||
|
|
||||||
|
#kubeless command
|
||||||
|
OS=$(uname -s| tr '[:upper:]' '[:lower:]')
|
||||||
|
curl -OL https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless_$OS-amd64.zip && \
|
||||||
|
unzip kubeless_$OS-amd64.zip && \
|
||||||
|
sudo mv bundles/kubeless_$OS-amd64/kubeless /usr/local/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user