I am trying to deploy a kubeless function using serverless. I created a kubernetes cluster using minikube and I am trying to follow this link following which
- I installed serverless
- created a template kubeless-nodejs
- installed plugins with
npm install
- and tried to deploy using
serverless deploy -v
but I am getting an error
/home/vin/serverless/kube/services/email/node_modules/serverless-kubeless/lib/config.js:56
return JSON.parse(this.configMag.data[key]);
^
TypeError: Cannot read property 'runtime-images' of undefined
at Config.get (/home/vin/serverless/kube/services/email/node_modules/serverless-kubeless/lib/config.js:56:44)
Please point me in the right direction
I found the issue. I had to deploy kubeless to the Kubernetes cluster I had to do this for that:
as given here link