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

braindump.sh support bundle tool commands are incorrect #38

Open
pippitt opened this issue Dec 7, 2023 · 0 comments
Open

braindump.sh support bundle tool commands are incorrect #38

pippitt opened this issue Dec 7, 2023 · 0 comments

Comments

@pippitt
Copy link

pippitt commented Dec 7, 2023

When using the braindump.sh tool to upload a support file I noticed a few things.
It would be good to set a namespace (though it is probably always cortex). So add something like

NAMESPACE="cortex"
kubens $NAMESPACE

This command kubectl describe po -o json -l cortex > pods.json has a few issues, at least for me.
Describe does not support different outputs types. Also my pods don't have the label cortext
I changed it to kubectl describe po -l app=cortex-demo-backend > braindump/pods-describe.json since that was the label on my backend pods
And added a command to get the pod definitions
kubectl get po -o json -l app=cortex-demo-backend > braindump/pods-get.json

Last, the tar command has both -x and -c (so extract and create, that errors). Changed to tar -zcf braindump.tar.gz braindump

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

No branches or pull requests

1 participant