Last active
May 24, 2018 13:43
-
-
Save ilackarms/c20b71dad1abe494b4844cd9dfc52d2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
mkdir -p gloo-logs | |
kubectl logs -n gloo-system -l gloo=control-plane > gloo-logs/control-plane.log | |
kubectl logs -n gloo-system -l gloo=ingress > gloo-logs/ingress.log | |
glooctl upstream get -o yaml > gloo-logs/upstreams.yaml | |
glooctl virtualservice get -o yaml > gloo-logs/vservice.yaml | |
tar czf gloo-logs.tar.gz gloo-logs | |
rm -r gloo-logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment