krel
November 18, 2021 · View on GitHub
krel is the new golang based tool for managing releases.
Summary
The purpose of krel is to provide a toolkit for managing the different steps needed to create Kubernetes Releases. This includes manually executed tasks like generating the Release Notes during the release cycle and performing automated tasks like pushing the Kubernetes release artifacts to Google Cloud Storage.
Installation
Compile krel by running the compile-release-tools script from the root of this repo:
./compile-release-tools krel
Usage:
krel has several subcommands that perform various tasks during the release lifecycle:
krel [subcommand]
Available Commands:
| Subcommand | Description |
|---|---|
| announce | Build and announce Kubernetes releases |
| changelog | Automate the lifecycle of CHANGELOG-x.y.{md,html} files in a k/k repository |
| ci-build | Build Kubernetes in CI and push release artifacts to Google Cloud Storage (GCS) |
| cve | Add and edit CVE information |
| ff | Fast forward a Kubernetes release branch |
| history | Run history to build a list of commands that ran when cutting a specific Kubernetes release |
| push | Push Kubernetes release artifacts to Google Cloud Storage (GCS) |
| release | Release a staged Kubernetes version |
| release-notes | The subcommand of choice for the Release Notes subteam of SIG Release |
| stage | Stage a new Kubernetes version |
| testgridshot | Take a screenshot of the testgrid dashboards |
Important Notes
Some of the krel subcommands are under development and their usage may already differ from these docs.