Skip to content

Allow consoling into a specific container - #985

Open
Fryguy wants to merge 1 commit into
ManageIQ:masterfrom
Fryguy:console_container
Open

Fryguy wants to merge 1 commit into
ManageIQ:masterfrom
Fryguy:console_container

Conversation

@Fryguy

@Fryguy Fryguy commented Sep 17, 2026

Copy link
Copy Markdown
Member

This commit allows exec'ing into a specific container within a pod. Before this commit, for multi-container pods, we would automatically default to the first pod. In the case of the queue-worker pod, the default container is queue-worker, and it was not possible to get into queue-worker-glacial container. In most cases this doesn't matter, but in a recent debug session I had to get into queue-worker-glacial to see what was going on from that pod's perspective.

@bdunne Please review.

This commit allows exec'ing into a specific container within a pod.
Before this commit, for multi-container pods, we would automatically
default to the first pod. In the case of the queue-worker pod, the
default container is queue-worker, and it was not possible to get into
queue-worker-glacial container. In most cases this doesn't matter, but
in a recent debug session I had to get into queue-worker-glacial to see
what was going on from that pod's perspective.
@Fryguy Fryguy assigned Fryguy and bdunne and unassigned Fryguy Sep 17, 2026
@miq-bot

miq-bot commented Sep 17, 2026

Copy link
Copy Markdown
Member

Checked commit Fryguy@ef18374 with ruby 3.3.12, rubocop 1.89.0, haml-lint 0.78.0, and yamllint 1.37.1
1 file checked, 0 offenses detected
Everything looks fine. 🍪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants