How to create Python function on my kubernetes cluster

I have followed the instructions here to create a Python function on my kubernetes cluster with the serverless framework & kubeless

I can deploy the function fine:

$ serverless deploy

But if I make a change to the Python code and try to re-deploy:

$ serverless deploy
...

Serverless: Excluding development dependencies...

  Error --------------------------------------------------

  Found errors while deploying the given functions:
Error: Unable to update the function hello2. Received:
  Code: 422
  Message: functions.k8s.io "hello2" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update

Thanks,
Ruth Kimberly.