Skip to content

Rust file (.rs) is not a supported action runtime #494

@kingledion

Description

@kingledion

Environment details:

  • Mac OS Catalina 10.15.7
  • Kubernetes through Docker Desktop 2.3.0.2
  • Kubernetes 1.16.5

Steps to reproduce the issue:

  1. Set up OpenWhisk locally with instructions here
  2. Start OpenWhisk with `helm install owdev ./path/to/openwhisk-deploy-kube/helm/openwhisk -n openwhisk --create-namespace -f mycluster.yaml
  3. mycluster.yaml looks like:
whisk:
  ingress:
    type: NodePort
    apiHostName: 192.168.65.3
    apiHostPort: 31001

nginx:
  httpsNodePort: 31001
  1. Wait for OpenWhisk to launch (validate with kubectl get pods -n openwhisk)
  2. Follow rust setup instructions here
  3. At the command wsk action create helloRust hello.rs

Provide the expected results and outputs:

The action is built with output something like

ok: created action helloRust

Provide the actual results and outputs:

error: Invalid argument(s). '.rs' is not a supported action runtime
Run 'wsk --help' for usage.

Additional information you deem important:

  • There seems to be a missing step here to to enable Rust with OpenWhisk. I am not sure if this step is documented in any readme on this service.
  • Is there something you have to put in mycluster.yaml to handle Rust?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions