KubeOps.Cli 9.0.0

dotnet tool install --global KubeOps.Cli --version 9.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local KubeOps.Cli --version 9.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=KubeOps.Cli&version=9.0.0
nuke :add-package KubeOps.Cli --version 9.0.0

KubeOps CLI

.NET tool to help managing your KubeOps project. It allows you to generate the needed files for your operator as well as managing resources in your Kubernetes cluster.

Installation

To install the CLI into your solution / project, first create a new tool manifest:

dotnet new tool-manifest

Then install the CLI:

dotnet tool install KubeOps.Cli

This allows you to use the CLI with dotnet kubeops.

Available Commands

Here is a brief overview over the available commands (for all options and descriptions, use -h or --help):

  • version: prints the version information for the actual connected Kubernetes cluster
  • install: install the CRDs for the given solution into the cluster
  • uninstall: uninstall the CRDs for the given solution from the cluster
  • generator: entry command for generator commands (i.e. has subcommands), all commands output their result to the stdout or the given output path
    • cert: generate a CA & server certificate for usage with webhooks
    • crd: generate the CRDs
    • docker: generate the dockerfile
    • installer: generate the installer files (i.e. kustomization yaml) for the operator
    • operator: generate the deployment for the operator
    • rbac: generate the needed rbac roles / role bindings for the operator
  • webhook: entry command for webhook related operations
    • install: generate the server certificate and install the service / webhook registration
    • register: register the currently implemented webhooks to the currently selected cluster

Example

When running dotnet kubeops api-version, your output may look like this:

> dotnet kubeops api-version
   Kubernetes API Version
┌─────────────┬─────────────┐
│ Git-Version │ v1.27.2     │
│ Major       │ 1           │
│ Minor       │ 27          │
│ Platform    │ linux/arm64 │
└─────────────┴─────────────┘
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
9.0.0 1,209 3/13/2024
9.0.0-pre.4 80 4/19/2024
9.0.0-pre.3 97 3/21/2024
9.0.0-pre.2 103 3/13/2024
9.0.0-pre.1 97 3/7/2024
8.0.2-pre.2 120 2/21/2024
8.0.2-pre.1 80 2/19/2024
8.0.1 827 2/13/2024
8.0.1-pre.7 63 2/12/2024
8.0.1-pre.6 58 2/7/2024
8.0.1-pre.5 79 2/5/2024
8.0.1-pre.4 48 1/31/2024
8.0.1-pre.3 55 1/26/2024
8.0.1-pre.2 60 1/25/2024
8.0.1-pre.1 55 1/18/2024
8.0.0 421 1/17/2024
8.0.0-pre.45 55 1/17/2024
8.0.0-pre.44 60 1/16/2024
8.0.0-pre.43 49 1/16/2024
8.0.0-pre.42 90 1/10/2024
8.0.0-pre.41 145 1/2/2024
8.0.0-pre.40 120 12/27/2023
8.0.0-pre.39 85 12/21/2023
8.0.0-pre.38 128 12/6/2023
8.0.0-pre.37 91 12/6/2023
8.0.0-pre.36 60 12/3/2023
8.0.0-pre.35 81 11/28/2023
8.0.0-pre.34 102 11/24/2023
8.0.0-pre.33 67 11/24/2023
8.0.0-pre.32 67 11/23/2023
8.0.0-pre.31 63 11/23/2023
8.0.0-pre.30 76 11/23/2023
8.0.0-pre.29 75 11/11/2023
8.0.0-pre.28 59 11/8/2023
8.0.0-pre.27 140 10/23/2023
8.0.0-pre.26 76 10/19/2023
8.0.0-pre.25 75 10/18/2023
8.0.0-pre.24 95 10/13/2023
8.0.0-pre.23 73 10/13/2023
8.0.0-pre.22 83 10/13/2023
8.0.0-pre.21 80 10/12/2023
8.0.0-pre.20 70 10/11/2023
8.0.0-pre.19 85 10/9/2023
8.0.0-pre.18 69 10/9/2023
8.0.0-pre.17 69 10/7/2023
8.0.0-pre.16 76 10/6/2023
8.0.0-pre.15 80 10/6/2023
8.0.0-pre.14 68 10/5/2023
8.0.0-pre.13 66 10/5/2023
8.0.0-pre.12 65 10/4/2023
8.0.0-pre.11 75 10/3/2023
8.0.0-pre.10 77 10/3/2023
8.0.0-pre.9 75 10/3/2023
8.0.0-pre.8 69 10/2/2023
8.0.0-pre.7 71 10/2/2023
8.0.0-pre.6 83 9/29/2023
8.0.0-pre.5 58 9/28/2023
8.0.0-pre.4 62 9/28/2023
8.0.0-pre.3 71 9/27/2023
8.0.0-pre.2 48 9/26/2023
8.0.0-pre.1 61 9/22/2023

'# [9.0.0](https://github.com/buehler/dotnet-operator-sdk/compare/v8.0.1...v9.0.0) (2024-03-13)


### Bug Fixes

* **deps:** update dependency roslynator.analyzers to v4.11.0 ([#721](https://github.com/buehler/dotnet-operator-sdk/issues/721)) ([fc70466](https://github.com/buehler/dotnet-operator-sdk/commit/fc70466190187d2f328f1f3be6f99f100ecaaa33))
* **deps:** update dependency sonaranalyzer.csharp to v9.20.0.85982 ([#723](https://github.com/buehler/dotnet-operator-sdk/issues/723)) ([8a6cfe1](https://github.com/buehler/dotnet-operator-sdk/commit/8a6cfe1b1313b75c8a880949fdd0037c4445663b))
* Watching resource with old version should restart ([#735](https://github.com/buehler/dotnet-operator-sdk/issues/735)) ([183c381](https://github.com/buehler/dotnet-operator-sdk/commit/183c3815164e9ba12f507067cf9f286d80a26c7e)), closes [#724](https://github.com/buehler/dotnet-operator-sdk/issues/724)


### Features

* `CancellationToken` support and a lot of async improvements ([#725](https://github.com/buehler/dotnet-operator-sdk/issues/725)) ([2d17bff](https://github.com/buehler/dotnet-operator-sdk/commit/2d17bfff14a142070eb5fd898efefdf266b59724))


### BREAKING CHANGES

* Some methods do now feature the cancellation
token which changed the method signature.



'