Skip to content

[docs]: Following getting started but dotnet-kubeops does not exist #988

@mloskot

Description

@mloskot

Describe the missing piece of documentation

I'm a KubeOps rookie following the tutorial at https://dotnet.github.io/dotnet-operator-sdk/docs/operator/getting-started/ and I've successfully installed the KubeOps CLI:

$ dotnet tool install --global KubeOps.Cli
...
$ dotnet tool install --global KubeOps.Cli
Tool 'kubeops.cli' is already installed.

Then, when follow the "Generate resources" section, I'm getting this:

$ dotnet kubeops generate operator MyOperator ./MyFirstOperator.csproj
Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-kubeops does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

I can see the kubeops command is in my PATH:

$ which kubeops
/home/mloskot/.dotnet/tools/kubeops
$ kubeops --version
9.11.9+7d1187a2535517c661638fcdbab8e50baeb17407

What am I missing or doing wrong?


My environent

  • Ubuntu 25.10
  • dotnet version 9.0.111
    $ dotnet --list-sdks`
    9.0.111 [/usr/lib/dotnet/sdk]
    $ dotnet --list-runtimes
    Microsoft.AspNetCore.App 9.0.10 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
    Microsoft.NETCore.App 8.0.21 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
    Microsoft.NETCore.App 9.0.10 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
    
  • kubectl version 1.33.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions