Skip to content

How to modify the YAML file of an action? #776

@Kaiwei-Lin

Description

@Kaiwei-Lin

I created a multi-node Kubernetes cluster using Kind and deployed OpenWhisk using Helm. My requirement is to run some actions on one worker node and other actions on another worker node. I noticed that after invoking an action, it creates a pod and assigns a worker node. How do I modify the Node Affinity in the YAML of this pod?

The following is a partial screenshot of the YAML.Use the command kubectl get pod wskowdev-invoker-00-62-guest-test -n openwhisk -o yaml
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions