Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

function deployment fails in kubernetes version >=1.19 #1222

Open
jsimao71 opened this issue Feb 19, 2021 · 1 comment
Open

function deployment fails in kubernetes version >=1.19 #1222

jsimao71 opened this issue Feb 19, 2021 · 1 comment

Comments

@jsimao71
Copy link

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
Copy link

bhkamath commented Mar 3, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants