kubectl-ai

What it is

kubectl-ai acts as an intelligent interface, translating user intent into precise Kubernetes operations, making Kubernetes management more accessible and efficient.

How to install

curl -sSL https://raw.githubusercontent.com/GoogleCloudPlatform/kubectl-ai/main/install.sh | bash

Gemini API Key

Go to https://aistudio.google.com/ then Get API Keys:

Depending on the tier you will need to import a Google Cloud Project for billing purposes.

Testing

A simple test to validate the configuration. I asked kubectl-ai to list k8s clusters i have access:

Costs

https://ai.google.dev/gemini-api/docs/pricing

References

https://github.com/GoogleCloudPlatform/kubectl-ai?tab=readme-ov-file

Leave a Reply