vmware-archive / kubeless

Kubernetes Native Serverless Framework
https://kubeless.io
Apache License 2.0
6.86k stars 753 forks source link

function deployment fails in kubernetes version >=1.19 #1222

Open jsimao71 opened 3 years ago

jsimao71 commented 3 years ago

When installing kubeless in Kubernetes version <=1.18, function deploying and ui work perfect. However, for a cluster in Kubernetes version 1.19 and 1.20 (tried both), the install seams to work. Buy when a function is deployed, gives error: NAME NAMESPACE HANDLER RUNTIME DEPENDENCIES STATUS hello default test.hello python3.6 MISSING: Check controller logs

The UI also does not work in version 1.19 and 1.20.

Can you please replicate this, and see if this can be fixed.

Thanks, J.

bhkamath commented 3 years ago

I notice Python 2.7 is no longer supported in the later version of Kubeless. You may want to try specifying Python 3.6 as a runtime.

Also, any failures you observe with sample code could possibly be due to syntax difference between Python versions. eg., print event vs. print (event). You may want to check on the pod log file to observe the details of failure.