apache / apache/openwhisk-deploy-kube

How to modify the YAML file of an action?

Open
#776 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
309
Forks
231
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/apache/openwhisk-deploy-kube/assets/74179804/ea1b2514-06ba-4c3a-b171-9b0cd229c001)

Contributor guide

Open the contributing guide

Research direction

Start with the Helm deployment and inspect the generated pod YAML using `kubectl get pod wskowdev-invoker-00-62-guest-test -n openwhisk -o yaml`. Trace where the pod configuration is produced and determine whether node affinity can be configured through the deployment inputs; done means documenting the supported configuration path for assigning actions to worker nodes.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
cloud, infrastructure
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.