Skip to content

Commit

Permalink
Update drone
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Yang <sheng@yasker.org>
  • Loading branch information
yasker committed Aug 23, 2021
1 parent 3720699 commit d475623
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ steps:
dockerfile: package/Dockerfile
password:
from_secret: docker_password
repo: "rancher/harvester-support-bundle-utils"
repo: "rancher/support-bundle-kit"
tag: ${DRONE_BRANCH}-head
username:
from_secret: docker_username
Expand All @@ -63,7 +63,7 @@ steps:
dockerfile: package/Dockerfile
password:
from_secret: docker_password
repo: "rancher/harvester-support-bundle-utils"
repo: "rancher/support-bundle-kit"
tag: "${DRONE_TAG}"
username:
from_secret: docker_username
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Harvester support bundle utils
# Support Bundle Kit[![Build Status](http://drone-publish.rancher.io/api/badges/rancher/support-bundle-kit/status.svg)](http://drone-publish.rancher.io/rancher/support-bundle-kit)

This project contains support bundle scripts and utilities for Harvester.
**working in progress**

This project contains support bundle scripts and utilities for applications running on top of Kubernetes

- `harvester-sb-collector.sh`: The script is used to collect k3os node logs. It can be run in a container with the host log folder mapped or be run on the host directly.
- `support-bundle-utils`: This application contains several commands:
- `manager`: start a Harvester support bundle manager. The manager does these works:
- `manager`: start a support bundle kit manager. The manager does these works:
- It collects the cluster bundle, including YAML manifests and pod logs.
- It collects external bundles. e.g., Longhorn support bundle.
- It starts a web server and waits for bundle downloading and uploading.
- It starts a daemonset on each node. The agents in the daemonset collect node bundles and push them back to the manager.

The manager is designed to be spawned as a Kubernetes deployment by the Harvester API server. But it can also be deployed manually from a manifest file. Please check [standalone mode](./docs/standalone.md) for more information.
The manager is designed to be spawned as a Kubernetes deployment by the application. But it can also be deployed manually from a manifest file. Please check [standalone mode](./docs/standalone.md) for more information.

## Support bundle contents

Expand Down

0 comments on commit d475623

Please sign in to comment.