Skip to content

Commit

Permalink
feat: add how to manually collect node data
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Yu <[email protected]>
  • Loading branch information
Yu-Jack committed Dec 26, 2024
1 parent c331c22 commit f99147e
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/troubleshooting/harvester.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,18 @@ Example:
kubectl cp harvester-system/supportbundle-manager-bundle-dtl2k-69dcc69b59-w64vl:/tmp/support-bundle-kit/supportbundle_db25ccb6-b52a-4f9d-97dd-db2df2b004d4_2024-02-02T11-18-10Z.zip bundle.zip
```
### Manually Collect Node Bunndle
If node is not ready or down, support bundle kit can't collect data. Please follow these steps to manually collect data.
1. Run `echo 'JOURNALCTL="/usr/bin/journalctl -o short-precise"' > /tmp/common`
2. Run `curl -o collector-harvester https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester && chmod +x collector-harvester`
3. Run `mkdir -p /tmp/support-bundle`
4. Run `export SUPPORT_BUNDLE_NODE_NAME=hostname`
4. Run `./collector-harvester / /tmp/support-bundle`
After finishing this process, please compree the `/tmp/support-bundle` and attach it with related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down
12 changes: 12 additions & 0 deletions versioned_docs/version-v1.2/troubleshooting/harvester.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,18 @@ Example:
kubectl cp harvester-system/supportbundle-manager-bundle-dtl2k-69dcc69b59-w64vl:/tmp/support-bundle-kit/supportbundle_db25ccb6-b52a-4f9d-97dd-db2df2b004d4_2024-02-02T11-18-10Z.zip bundle.zip
```
### Manually Collect Node Bunndle
If node is not ready or down, support bundle kit can't collect data. Please follow these steps to manually collect data.
1. Run `echo 'JOURNALCTL="/usr/bin/journalctl -o short-precise"' > /tmp/common`
2. Run `curl -o collector-harvester https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester && chmod +x collector-harvester`
3. Run `mkdir -p /tmp/support-bundle`
4. Run `export SUPPORT_BUNDLE_NODE_NAME=hostname`
4. Run `./collector-harvester / /tmp/support-bundle`
After finishing this process, please compree the `/tmp/support-bundle` and attach it with related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down
12 changes: 12 additions & 0 deletions versioned_docs/version-v1.3/troubleshooting/harvester.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,18 @@ Example:
kubectl cp harvester-system/supportbundle-manager-bundle-dtl2k-69dcc69b59-w64vl:/tmp/support-bundle-kit/supportbundle_db25ccb6-b52a-4f9d-97dd-db2df2b004d4_2024-02-02T11-18-10Z.zip bundle.zip
```
### Manually Collect Node Bunndle
If node is not ready or down, support bundle kit can't collect data. Please follow these steps to manually collect data.
1. Run `echo 'JOURNALCTL="/usr/bin/journalctl -o short-precise"' > /tmp/common`
2. Run `curl -o collector-harvester https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester && chmod +x collector-harvester`
3. Run `mkdir -p /tmp/support-bundle`
4. Run `export SUPPORT_BUNDLE_NODE_NAME=hostname`
4. Run `./collector-harvester / /tmp/support-bundle`
After finishing this process, please compree the `/tmp/support-bundle` and attach it with related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down
12 changes: 12 additions & 0 deletions versioned_docs/version-v1.4/troubleshooting/harvester.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,18 @@ Example:
kubectl cp harvester-system/supportbundle-manager-bundle-dtl2k-69dcc69b59-w64vl:/tmp/support-bundle-kit/supportbundle_db25ccb6-b52a-4f9d-97dd-db2df2b004d4_2024-02-02T11-18-10Z.zip bundle.zip
```
### Manually Collect Node Bunndle
If node is not ready or down, support bundle kit can't collect data. Please follow these steps to manually collect data.
1. Run `echo 'JOURNALCTL="/usr/bin/journalctl -o short-precise"' > /tmp/common`
2. Run `curl -o collector-harvester https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester && chmod +x collector-harvester`
3. Run `mkdir -p /tmp/support-bundle`
4. Run `export SUPPORT_BUNDLE_NODE_NAME=hostname`
4. Run `./collector-harvester / /tmp/support-bundle`
After finishing this process, please compree the `/tmp/support-bundle` and attach it with related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down

0 comments on commit f99147e

Please sign in to comment.