You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/04/04 08:20:16 UTC

[GitHub] [flink] rmetzger commented on a change in pull request #11630: [FLINK-16921][e2e] Describe all resources and show pods logs before cleanup when failed

rmetzger commented on a change in pull request #11630: [FLINK-16921][e2e] Describe all resources and show pods logs before cleanup when failed
URL: https://github.com/apache/flink/pull/11630#discussion_r403442187
 
 

 ##########
 File path: flink-end-to-end-tests/test-scripts/common_kubernetes.sh
 ##########
 @@ -114,10 +114,11 @@ function stop_kubernetes {
     fi
 }
 
-function debug_copy_and_show_logs {
+function debug_and_show_logs {
     echo "Debugging failed Kubernetes test:"
     echo "Currently existing Kubernetes resources"
     kubectl get all
+    kubectl describe all
 
 Review comment:
   If this also doesn't help, I used these commands for debugging the k8s the last time it was unstable:
   
   ```
   kubectl get pods -o json -n kube-system
   kubectl get pods -o json
   kubectl get events -o json
   kubectl get deployments -o json
   kubectl describe pods
   kubectl describe nodes
   kubectl get nodes -o json
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services