-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to modify the YAML file of an action? #776
Comments
The command
|
I implemented my requirement by modifying the source code of the OpenWhisk invoker(base on gitTag: ef725a653ab112391f79c274d8e3dcfb915d59a3) .My solution is based on tag-based scheduling(tag-based-scheduling in OpenWhisk.).Since OpenWhisk deployed based on Kubernetes cannot modify the tags of invokers, I have fixed the tags in the source code.Modify code How to install:
if You have 5 nodeWorkers, As for executing bash commands:
How to use:
Assuming I have an action named "test", if I want it to be invoked on kind-worker(invoker0 only create pod in kind-worker), I need to update its annotation by Finally, after invoking, this action will invoked in kind-worker. |
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
The text was updated successfully, but these errors were encountered: