You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deployed devworkspace-operator using this template https://github.com/devfile/devworkspace-operator/blob/v0.29.0/deploy/deployment/kubernetes/combined.yaml.
After the devworkspace-controller-manager is deployed, it will deploy the devworkspace-webhook-server. The problem is I cannot tell the devworkspace-webhook-server to deploy on a specific node. Or maybe there is an option to do that, if there is, please show me. Thanks
The text was updated successfully, but these errors were encountered:
This feature hasn't been document (yet), see #1289.
For your use case, you'll probably want to use the nodeSelector. You can add a label to your desired node, and use a nodeSelector for the webhook server to have the webhook deployed to your desired node. For an example, see the "Verifying nodeSelector" section of this PR.
Here's a quick explanation of the webhook server deployment configuration options:
The devworkspace-webhook-server deployment configuration options are available in the global DevWorkspaceOperatorConfig (DWOC) including: replicas, pod tolerations and nodeSelector.
These configuration options exist in the global DWOC's config.webhook field:
Note: In order for the devworkspace-webhook-server configuration options to take effect:
You must place them in the global DWOC, which has the name devworkspace-operator-config and exists in the namespace where the DevWorkspaceOperator is installed. If it does not already exist on the cluster, you must create it.
You'll need to terminate the devworkspace-controller-manager pod and restart it so that the devworkspace-webhook-server deployment can be adjusted accordingly.
If you have any further questions on configuring the webhook deployment, just ask :) Otherwise, feel free to close this issue.
Description
I deployed devworkspace-operator using this template https://github.com/devfile/devworkspace-operator/blob/v0.29.0/deploy/deployment/kubernetes/combined.yaml.
After the devworkspace-controller-manager is deployed, it will deploy the devworkspace-webhook-server. The problem is I cannot tell the devworkspace-webhook-server to deploy on a specific node. Or maybe there is an option to do that, if there is, please show me. Thanks
The text was updated successfully, but these errors were encountered: