KubeOps.Cli 13.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global KubeOps.Cli --version 13.1.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 13.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=KubeOps.Cli&version=13.1.0
                    
nuke :add-package KubeOps.Cli --version 13.1.0
                    

KubeOps CLI

NuGet NuGet Pre-Release

The KubeOps CLI is a command-line tool designed to simplify the development and management of Kubernetes Operators using .NET. It provides utilities for generating Custom Resource Definitions (CRDs) and managing operator-related tasks.

Installation

Global Installation

To install the KubeOps CLI globally on your machine:

dotnet tool install --global KubeOps.Cli

Local Installation

To install the KubeOps CLI locally in your project:

dotnet new tool-manifest
dotnet tool install --local KubeOps.Cli

Available Commands

Generate

Generates Custom Resource Definitions (CRDs) and other Kubernetes-related resources for your operator.

kubeops generate

The generate operator command creates all necessary resources for deploying your operator to Kubernetes:

  • RBAC Rules: Role-based access control configurations
  • Dockerfile: Container image definition for your operator
  • Deployment: Kubernetes deployment configuration
  • CRDs: Custom Resource Definitions based on your C# entities
  • Namespace: A dedicated namespace for your operator
  • Kustomization: Kustomize configuration for managing all resources

If your operator includes webhooks (mutations or validations), additional resources are generated:

  • CA and Server Certificates: For secure webhook communication
  • Webhook Configurations: For validation and mutation webhooks
  • Service: For exposing webhook endpoints
  • Secret Generators: For managing webhook certificates

Generated CRDs explicitly use conversion.strategy: None unless a conversion webhook is registered for the CRD. When one is registered, the strategy is Webhook and the corresponding webhook client configuration is generated.

Install

Installs the operator and its CRDs into a Kubernetes cluster.

kubeops install

Uninstall

Removes the operator and its CRDs from a Kubernetes cluster.

kubeops uninstall

Version

Displays the current version of the KubeOps CLI.

kubeops version

Global Options

All commands support the following global options:

  • --no-ansi: Disable ANSI colored output. This is automatically enabled when running in CI/CD environments (GitHub Actions, Azure Pipelines, Jenkins, GitLab CI, etc.)
  • --force or -f: Skip confirmation prompts
  • --project: Regex pattern to filter projects in a solution
  • --target-framework: Specify target framework for solution projects

Usage

The KubeOps CLI is designed to be used within .NET projects that implement Kubernetes operators. It helps streamline the development process by automating common tasks such as CRD generation and operator deployment.

For more detailed information about each command, use the --help flag:

kubeops [command] --help
Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
13.3.3-prerelease.2 61 10/7/2026
13.3.3-prerelease.1 55 10/7/2026
13.3.2 816 10/6/2026
13.3.2-prerelease.4 76 10/4/2026
13.3.2-prerelease.3 74 10/4/2026
13.3.2-prerelease.2 69 9/30/2026
13.3.2-prerelease.1 65 9/29/2026
13.3.1 1,747 9/29/2026
13.3.1-prerelease.3 67 9/29/2026
13.3.1-prerelease.2 75 9/24/2026
13.3.1-prerelease.1 82 9/23/2026
13.3.0 421 9/22/2026
13.3.0-prerelease.4 100 9/18/2026
13.3.0-prerelease.3 94 9/17/2026
13.3.0-prerelease.2 86 9/17/2026
13.3.0-prerelease.1 81 9/17/2026
13.2.2-prerelease.1 79 9/16/2026
13.2.1 2,070 9/15/2026
13.2.1-prerelease.5 97 9/13/2026
13.1.0 857 7/21/2026
Loading failed

'## [13.1.0](https://github.com/dotnet/dotnet-operator-sdk/compare/v13.0.0...v13.1.0) (2026-07-21)

### Features

* **generator:** expand CRD schema metadata support ([#1201](https://github.com/dotnet/dotnet-operator-sdk/issues/1201)) ([67aa3fd](https://github.com/dotnet/dotnet-operator-sdk/commit/67aa3fd3a1b5ff827bf116d80840607e3952be23)), closes [#1200](https://github.com/dotnet/dotnet-operator-sdk/issues/1200)

### Dependencies

* **ci:** update actions/setup-dotnet action to v6 ([#1204](https://github.com/dotnet/dotnet-operator-sdk/issues/1204)) ([eddcd6a](https://github.com/dotnet/dotnet-operator-sdk/commit/eddcd6ac22dadafd392a8f9515d7f2246d62e4db))
* **ci:** update actions/setup-node action to v7 ([#1199](https://github.com/dotnet/dotnet-operator-sdk/issues/1199)) ([e0621c8](https://github.com/dotnet/dotnet-operator-sdk/commit/e0621c8572c455639c88107bdfd24db711fbdfc3))
* **core:** update opentelemetry-dotnet-contrib monorepo to 1.17.0 ([#1207](https://github.com/dotnet/dotnet-operator-sdk/issues/1207)) ([6314dac](https://github.com/dotnet/dotnet-operator-sdk/commit/6314dac27bb40039a69fe38aae0b5a02eb3c66d1))
* **test:** update dependency microsoft.net.test.sdk to 18.8.1 ([#1198](https://github.com/dotnet/dotnet-operator-sdk/issues/1198)) ([9f44d7c](https://github.com/dotnet/dotnet-operator-sdk/commit/9f44d7ca3b545b0db2fdb990374c58f0205d0eef))
* **test:** update dotnet monorepo ([#1197](https://github.com/dotnet/dotnet-operator-sdk/issues/1197)) ([8fe3808](https://github.com/dotnet/dotnet-operator-sdk/commit/8fe380833ff34e47217f2b0d2703fe36b4010d1b))
* **test:** update dotnet monorepo to 18.8.2 ([#1202](https://github.com/dotnet/dotnet-operator-sdk/issues/1202)) ([3ea3844](https://github.com/dotnet/dotnet-operator-sdk/commit/3ea384479b7e9dad6d70c7553e8d18248b22e33c))
* **test:** update opentelemetry-dotnet monorepo ([#1203](https://github.com/dotnet/dotnet-operator-sdk/issues/1203)) ([68e3044](https://github.com/dotnet/dotnet-operator-sdk/commit/68e3044f032b5e5ec35abcb38acba78ff9339de8))
* **tools:** update dependency nuget-license to v4.0.15 ([#1206](https://github.com/dotnet/dotnet-operator-sdk/issues/1206)) ([711b8a7](https://github.com/dotnet/dotnet-operator-sdk/commit/711b8a7d30d7a76b1443accb2ae7bf1f0c461953))
'