Google launched kubectl-ai

In case you are not aware, google has recently launched kubectl-ai.

What is kubectl-ai?

It is an intelligent CLI tool or an AI agent that turns plain english queries into Kubernetes commands. You can ask "show me pods running in this namespace" or "scale this deployment to 5 replicas" or "can you perform network test against this app" etc, and it intelligently fetches the kubectl command for the task and take your permission before executing it.

So you need not memorize kubectl commands or any yaml manifest configs. It is also interactive in nature and takes follow on questions.

It Runs directly in your terminal with support for Gemini models and local models such as gemma via Ollama/llama.cpp.

Advice not to use it in Prod right away in write mode, but can be a good case for troubleshooting issues as read mode.

You can download it from here:

https://github.com/GoogleCloudPlatform/kubectl-ai

0
Subscribe to my newsletter

Read articles from Surya Theja Katkam directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Surya Theja Katkam
Surya Theja Katkam