Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
893538d8
Commit
893538d8
authored
8 years ago
by
Bogdan Dobrelya
Browse files
Options
Downloads
Patches
Plain Diff
Add kubelet and calico CLI info collection
Signed-off-by:
Bogdan Dobrelya
<
bdobrelia@mirantis.com
>
parent
1772d122
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/collect-info.yaml
+8
-0
8 additions, 0 deletions
scripts/collect-info.yaml
with
8 additions
and
0 deletions
scripts/collect-info.yaml
+
8
−
0
View file @
893538d8
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment