From 7c10c5c453c0688b54f73cc1c8344480282a2bf4 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Wed, 7 Dec 2016 11:05:30 +0100 Subject: [PATCH] Add kubelet and calico CLI info collection Signed-off-by: Bogdan Dobrelya --- scripts/collect-info.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/collect-info.yaml b/scripts/collect-info.yaml index 13537ef25..03447842f 100644 --- a/scripts/collect-info.yaml +++ b/scripts/collect-info.yaml @@ -25,12 +25,20 @@ cmd: journalctl -p err --no-pager - name: etcd_info cmd: etcdctl --peers={{ etcd_access_addresses }} cluster-health + - name: calico_info + cmd: "{{bin_dir}}/calicoctl node status" + - name: calico_workload_info + cmd: "{{bin_dir}}/calicoctl get workloadEndpoint -o wide" + - name: calico_pool_info + cmd: "{{bin_dir}}/calicoctl get ippool -o wide" - name: weave_info cmd: weave report - name: weave_logs cmd: docker logs weave - name: kube_describe_all cmd: kubectl describe all --all-namespaces + - name: kubelet_logs + cmd: journalctl -u kubelet --no-pager - name: kubedns_logs cmd: "for i in `kubectl get pods --all-namespaces -l k8s-app=kubedns -o jsonpath={.items..metadata.name}`; do kubectl logs ${i} --namespace kube-system kubedns; done"