Skip to content

Commit

Permalink
Add kube-controller-manager logs to postmortem
Browse files Browse the repository at this point in the history
Recent issues with subctl & the operator could only be detected via
logs in the kube-controller-manager (due to API update issues which
didn't propagate to the API requests).

This commit adds the kube-controller-manager logs to postmortem
output.

Signed-off-by: Miguel Angel Ajo <[email protected]>
  • Loading branch information
mangelajo authored and tpantelis committed Apr 14, 2021
1 parent 85133a4 commit c0997b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/shared/post_mortem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ function post_analyze() {
print_section "* Kube-proxy pod logs for $cluster *"
print_pods_logs "kube-system" "k8s-app=kube-proxy"

print_section "* Kube-controller-manager pod logs for $cluster *"
print_pods_logs "kube-system" "component=kube-controller-manager"

print_section "* Submariner-operator pod logs for $cluster *"
print_pods_logs "submariner-operator"

Expand Down

0 comments on commit c0997b9

Please sign in to comment.