-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README content, update log statement and hide default cobra cmd
Signed-off-by: Abhisman Sarkar <abhisman_sarkar@lineaje.com>
- Loading branch information
Abhisman Sarkar
committed
Jan 9, 2024
1 parent
7b98b5f
commit 0ee0d66
Showing
5 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,37 @@ | ||
# Kubecollect | ||
|
||
Go tool to scan your Kubernetes cluster and provide you with a quick summary | ||
|
||
## Installation | ||
|
||
You can run `go build -o kcl` to build the binary locally or download from the **Releases** tab | ||
|
||
## Features | ||
|
||
1. Quick summary of your Kubernetes cluster status and the option to point to specific namespaces | ||
2. Customizable logging | ||
|
||
## Requirements | ||
|
||
1. Go version 1.21.5 or higher | ||
2. Access to a Kubernetes cluster | ||
|
||
## Issues | ||
|
||
Open issues if you're having trouble with the tool or you feel that the documentation is lacking | ||
|
||
## Flags | ||
|
||
Currently there exists a single sub-command: `check` with 3 flags: | ||
|
||
1. **--kubeconfig**: This flag stores the path to the kubeconfig file for your cluster. If not specified, it will try to access the file from the default location in `~/.kube/config` | ||
|
||
2. **--logger**: This flag enables logging for the application run and creates a `kubecollect.log` based on the path where your run the app from | ||
|
||
3. **--namespaces**: This flag stores a string slice of the namespaces that you want to get cluster status from. If no namespaces are provided then, all the namespaces from your cluster are used to get the cluster status update | ||
|
||
## Usage | ||
|
||
![kcl command screenshot 1](/images/image1.png) | ||
|
||
![kcl command screenshot 2](/images/image2.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.