Skip to content

Commit

Permalink
feat: add new script to collect non-ready node
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 2b546e3
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/troubleshooting/harvester.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,15 @@ 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 `curl -o collector-harvester-non-ready-node https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester-non-ready-node && chmod +x collector-harvester-non-ready-node`
2. Run `./collector-harvester-non-ready-node / /tmp/support-bundle`
After finishing this process, please compress the `/tmp/support-bundle` and attach it with the related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down
9 changes: 9 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,15 @@ 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 `curl -o collector-harvester-non-ready-node https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester-non-ready-node && chmod +x collector-harvester-non-ready-node`
2. Run `./collector-harvester-non-ready-node / /tmp/support-bundle`
After finishing this process, please compress the `/tmp/support-bundle` and attach it with the related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down
9 changes: 9 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,15 @@ 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 `curl -o collector-harvester-non-ready-node https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester-non-ready-node && chmod +x collector-harvester-non-ready-node`
2. Run `./collector-harvester-non-ready-node / /tmp/support-bundle`
After finishing this process, please compress the `/tmp/support-bundle` and attach it with the related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down
9 changes: 9 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,15 @@ 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 `curl -o collector-harvester-non-ready-node https://raw.githubusercontent.com/rancher/support-bundle-kit/refs/heads/master/hack/collector-harvester-non-ready-node && chmod +x collector-harvester-non-ready-node`
2. Run `./collector-harvester-non-ready-node / /tmp/support-bundle`
After finishing this process, please compress the `/tmp/support-bundle` and attach it with the related issue.
### Known Limitations
- Replacing the backing pod prevents the support bundle file from being downloaded.
Expand Down

0 comments on commit 2b546e3

Please sign in to comment.