# sozercan/kubectl-ai

✨ Kubectl plugin to create manifests with LLMs

Repository: https://github.com/sozercan/kubectl-ai
Canonical: https://ross.abutalabs.com/products/sozercan-kubectl-ai
Language: Go
License: MIT
License Family: permissive
Topics: kubernetes, openai, chatgpt, kubectl-plugins, gpt-4, hacktoberfest, ai, kubectl, openai-api, gpt, k8s, llm, localllama, open-llm
Last push: 2025-01-27T22:00:14+00:00

## Health v2 (maintenance only)
Score: 22/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 3, release rhythm 8, longevity 90
- inputs: {"age_days": 1264, "days_push": 583, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1196, forks 89 (observed 2026-08-28T04:03:57.295645+00:00)

## What it is
A kubectl plugin written in Go that generates and applies Kubernetes manifests from natural-language prompts using OpenAI GPT or OpenAI API-compatible endpoints, including local models via AIKit or LocalAI. It can be installed via Homebrew, Krew, or GitHub releases and used standalone or as a kubectl plugin.

## Use cases
- generate kubernetes manifests from natural language
- create k8s yaml without searching for examples
- apply kubernetes resources using chatgpt
- use local llm to write kubernetes manifests
- kubectl plugin for ai-generated deployments
- avoid collecting random manifests when testing

## When to choose
- you want to quickly scaffold Kubernetes manifests without hunting for YAML examples
- you already use kubectl and want an AI assistant integrated into your workflow
- you want to use local OpenAI-compatible endpoints instead of sending data to OpenAI

## When to avoid
- you need guaranteed-correct production manifests - LLM output should always be reviewed
- you don't have access to an OpenAI API key or a compatible local endpoint
- you need a general-purpose Kubernetes management tool rather than manifest generation

## Facets
- artifact type: cli-tool
- maturity: active
- function: llm-inference, developer-tools, cli, infrastructure-as-code
- domain: developer-tools, large-language-models, infrastructure-as-code
- platform: cli, cross-platform, go
- tags: kubectl-plugin, kubernetes-manifests, openai, llm, krew, yaml-generation, local-llm, kubernetes, devops

## Member repositories
- sozercan/kubectl-ai (main) score 22

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:57.295645+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:04.250355+00:00, confidence not recorded.
  - readme: https://github.com/sozercan/kubectl-ai (fetched 2026-08-28T04:03:57.295645+00:00, sha e57d47708ae3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
