-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
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 +1,37 @@ | ||
# kubectl-cls | ||
|
||
List CronJobs and CronWorkflows that are scheduled and executed during a specific time period. | ||
|
||
## Installation | ||
|
||
### Homebrew | ||
|
||
TBD | ||
|
||
### Go | ||
|
||
``` | ||
go install github.com/unblee/kubectl-cls@latest | ||
``` | ||
|
||
### Binaries | ||
|
||
TBD | ||
|
||
## Usage | ||
|
||
The `--from` and `--to` options must be specified. Its format is RFC3339. | ||
|
||
``` | ||
kubectl cls --from 2023-01-24T00:00:00+09:00 --to 2023-01-24T06:00:00+09:00 | ||
Namespace Name Schedule Suspend Kind | ||
namespace-a foo */10 * * * * false CronJob | ||
namespace-b bar 0 15 * * * false CronJob | ||
namespace-c baz 0,15,30,45 * * * * false CronJob | ||
namespace-z qux */30 * * * * false CronWorkflow | ||
namespace-z quux 0 * * * * false CronWorkflow | ||
``` | ||
|
||
## Note | ||
|
||
The Kubernetes cluster is assumed to be running in UTC. |