Closed nvanthao closed 1 week ago
Bug Description
Our doc states that
When the selector refers to more than one replica of a pod, the exec collector will execute in only one of the pods
Expected Behavior Only exec in 1 pod rather than all pods matched the selector
Steps To Reproduce
Additional Context
0.93.2
https://github.com/replicatedhq/troubleshoot/blob/53113c0170ce4d1d02ef7552e5cebdc5ae6d4feb/pkg/collect/exec.go#L86-L92
Is this a bug in the collector, or the docs? I would have expected a deployment with 2 replicas to run 2.
Bug Description
Our doc states that
Expected Behavior Only exec in 1 pod rather than all pods matched the selector
Steps To Reproduce
Additional Context
0.93.2
https://github.com/replicatedhq/troubleshoot/blob/53113c0170ce4d1d02ef7552e5cebdc5ae6d4feb/pkg/collect/exec.go#L86-L92