User Story
As a cloudctl user, I want to run a kubectl command across many clusters at once, so I can perform fleet-wide operations and compliance checks efficiently.
Description
cloudctl foreach --selector <sel> kubectl <args> — filters kubeconfig contexts using label-style selectors, shows a confirmation prompt, then runs the command in parallel across all selected contexts with per-context prefixed output and fail count aggregation.
Selector syntax: name=VALUE, name!=VALUE, name in (a,b,c), name notin (a,b,c), name~=REGEX, name!~=REGEX. Empty selector matches all contexts.
Acceptance Criteria
Reference Issues
Epic: #70
User Story
Description
cloudctl foreach --selector <sel> kubectl <args>— filters kubeconfig contexts using label-style selectors, shows a confirmation prompt, then runs the command in parallel across all selected contexts with per-context prefixed output and fail count aggregation.Selector syntax:
name=VALUE,name!=VALUE,name in (a,b,c),name notin (a,b,c),name~=REGEX,name!~=REGEX. Empty selector matches all contexts.Acceptance Criteria
--quiet/-q[context-name]Reference Issues
Epic: #70