Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of kube-dump.sh #4346

Merged
merged 1 commit into from
Feb 12, 2015

Conversation

jszczepkowski
Copy link
Contributor

Script which dumps state of Kubernetes cluster for debugging. Tested on GCE only. This is initial attempt to fix #3500.

@roberthbailey
Copy link
Contributor

Assigning to @filbranden since he's likely to have some bash-style comments.

ALL_NODES=(${MINION_NAMES[*]} ${MASTER_NAME})
for NODE in ${ALL_NODES[*]}; do
echo "kube-dump.sh: Node $NODE:"
ssh-to-node $NODE '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double quotes:

  ssh-to-node "${node}" ' ...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@filbranden
Copy link
Contributor

A few comments, looks good otherwise.

@filbranden
Copy link
Contributor

Looks good. May I ask you to squash your commits into a single one before the merge? (You can do that with git rebase -i). Thanks!

…Kubernetes cluster for debugging. Tested on GCE only. This is initial attempt to fix kubernetes#3500.
@jszczepkowski
Copy link
Contributor Author

Done.

filbranden added a commit that referenced this pull request Feb 12, 2015
Initial implementation of kube-dump.sh
@filbranden filbranden merged commit 2bb725f into kubernetes:master Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add dump command to kubectl
3 participants