TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: K8sAI – open-source GPT CLI tool for Kubernetes

9 点作者 wilson090大约 1 年前
Hey HN!<p>I wanted to share an open-source project I’ve been working on called k8sAI. It’s a personal AI Kubernetes expert that can answer questions about your cluster, suggests commands, and even executes relevant kubectl commands to help diagnose and suggest fixes to your cluster, all in the CLI!<p>As a relative newcomer to k8s, this tool has really streamlined my workflow. I can ask questions about my cluster, k8sAI will run kubectl commands to gather info, and then answer those question. It’s also found several issues in my cluster for me - all I’ve had to do is point it in the right direction. I’ve really enjoyed making and using this so I thought it could be useful for others. Added bonus is that you don’t need to copy and paste into ChatGPT anymore!<p>k8sAI operates with read-only kubectl commands to make sure your cluster stays safe.<p>All you need is an OpenAI API key and a valid kubectl config. Start chatting with k8sAI using:<p>$ pip install k8sAI<p>$ k8sAI chat Or to fix an issue: $ k8sAI fix -p=&quot;take a look at the failing pod in the test namespace&quot;<p>Any and all feedback is appreciated. Looking forward to hearing what you all have to say!<p>Cheers!

3 条评论

postive_ev大约 1 年前
Great work! Do you have plans to add support for other models (e.g. Gemini)? My understanding is some models are better optimized for recall of info from large corpuses like docs.
评论 #40237405 未加载
adit_a大约 1 年前
This is interesting. I’m far from being an infra engineer so if this actually makes managing kubernetes easier I would pay for a hosted option
raunakchowdhuri大约 1 年前
Interesting... how did you do the scraping of the documentation?
评论 #40237332 未加载