From 88e26bf5943ed4ef3fea2c10fedba7dc2b73b8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 17 Apr 2019 14:39:08 +0200 Subject: [PATCH] Update deploy_function.sh --- functions/deploy_function.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/deploy_function.sh b/functions/deploy_function.sh index 702767b..757bb3c 100644 --- a/functions/deploy_function.sh +++ b/functions/deploy_function.sh @@ -6,5 +6,6 @@ kubeless function deploy $3 --runtime $1 --from-file $2 --handler $4 kubeless trigger http create $3 --function-name $3 --path $3 --hostname $3.kubeless +kubeless autoscale create $3 --max 32 --metric "cpu" --min 3 --value "50" #Test with curl --data '{"Another": "Echo"}' --header "Host: get-python.192.168.99.100.nip.io" --header "Content-Type:application/json" 192.168.99.100/echo