Im a beginner in Kubernetes. I have been trying out kubeless on minikube. I have set up both in the latest version available. When i deploy the function, this is the output that i got:
INFO[0000] Deploying function...
INFO[0000] Function hello submitted for deployment
INFO[0000] Check the deployment status executing 'kubeless function ls hello'
When i run the kubeless function ls
, i get this:
NAME NAMESPACE HANDLER RUNTIME DEPENDENCIES STATUS
hello default example.hello python3.6 MISSING: Check controller logs
MISSING: Check controller logs
every time i create a function it is showing this status. I also checked by changing the RUNTIME to python2.7, but still it doesn't work. The deploy command is following
kubeless function deploy hello --runtime python3.6 --from-file python-example/example.py --handler example.hello
Please guide me on how to fix this issue.
First, get the name for the kubeless-controller pod:
You can get the logs from the Kubeles controller: