Closed nosmolovskiy closed 3 years ago
You can't install an agent plane using a helm chart. Agents can be installed using litmusctl and you can pass the --node-selector
flag while creating the agent.
Ref- https://github.com/litmuschaos/litmusctl/blob/master/Usage.md
@rajdas98 thanks for answer. After login to portal I see that Self-Agent was installed to cluster. Is it possible set NodeSelector for subscriber, chaos-operator-ce, chaos-exporter and workflow-controller which were installed as Self-Agent using helm chart?
for self-agent, node-selector flag is not present.
You can disconnect the self-agent and reconnect it using litmusctl(with --node-selector flag).
thanks @rajdas98
For future readers, this appears to now be possible declaratively via https://github.com/litmuschaos/litmus/pull/3527
@sthomson-wyn You mentioned node selectors and tolerations can be declaratively added. Can you explain what you mean? Is there a way for me to set the tolerations, node selectors, and resources via helm?
I see mention of the chaos-exporter, chaos-operator, subscriber, etc here: https://github.com/litmuschaos/litmus-helm/tree/master/charts/litmus-agent#requirements. Is that helm command how I set these values, or do I need to use litmusctl? Are there any docs around how to set those three values (tolerations, node selectors, resources) on the agent plane resources?
I want to run agent plane(subscriber, event-tracker, litmus-operator-ce, workflow-controller) resources on particular nodes. I found that these resources can be executed with node selector(litmuschaos/litmus) but cant get how to do it using chart. Do someone can help?