How to resolve "-bash: kubeless: command not found" issue in Google Kubernetes Engine?

7/17/2019

I have followed all the steps from the Bitnami website. I have installed Helm and Tiller. But when I give the command - kubeless function ls, it shows the error:

-bash: kubeless: command not found.

Also I have downloaded the kubeless.zip file but whenever I proceed to unzip it using: unzip kubeless.zip, it says :

cannot find zipfile directory in one of kubeless.zip or
kubeless.zip.zip, and cannot find kubeless.zip.ZIP, period.

How do I resolve these issues and what do I need to get started with Kubeless in GKE ? I am using Google Cloud Shell to run the commands.

I am in zone asia-south1-b.

-- the-unreal
google-kubernetes-engine
kubeless
kubernetes
serverless

1 Answer

7/18/2019

kubeless shouldn't be run from the nodes, following the install guide, you are deploying k8s resources on the cluster, but the kubeless command line should be done from your computer.

-- Patrick W
Source: StackOverflow