Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
unblee committed Jan 26, 2023
1 parent 4b5278e commit 49a6b25
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
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.

0 comments on commit 49a6b25

Please sign in to comment.