<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Olaleye</title>
    <description>The latest articles on DEV Community by Olaleye (@junnygram).</description>
    <link>https://dev.to/junnygram</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1075044%2Ffcec55d2-0df7-4350-afef-adef739cb322.jpeg</url>
      <title>DEV Community: Olaleye</title>
      <link>https://dev.to/junnygram</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/junnygram"/>
    <language>en</language>
    <item>
      <title>🐧 KubeGPT – AI-Powered Kubernetes Companion</title>
      <dc:creator>Olaleye</dc:creator>
      <pubDate>Wed, 07 May 2025 16:53:46 +0000</pubDate>
      <link>https://dev.to/junnygram/kubegpt-ai-powered-kubernetes-companion-44hp</link>
      <guid>https://dev.to/junnygram/kubegpt-ai-powered-kubernetes-companion-44hp</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/aws-amazon-q-v2025-04-30"&gt;Amazon Q Developer "Quack The Code" Challenge&lt;/a&gt;: Crushing the Command Line&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;KubeGPT&lt;/strong&gt; is an AI-powered CLI tool that serves as your Kubernetes command-line sidekick. It lets you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ &lt;strong&gt;Troubleshoot&lt;/strong&gt; cluster issues using natural language&lt;/li&gt;
&lt;li&gt;🎮 &lt;strong&gt;Play Kubernetes trivia games&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;Generate reports&lt;/strong&gt; for any namespace or object in your cluster&lt;/li&gt;
&lt;li&gt;🤖 Seamlessly integrate &lt;strong&gt;Amazon Q Developer&lt;/strong&gt; for intelligent command assistance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whether you're debugging a failing pod or just brushing up on your K8s skills with a quick game, &lt;code&gt;kubegpt&lt;/code&gt; makes navigating Kubernetes clusters easier, faster, and a bit more fun.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎥 Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1zw9Jw5nBzu6NQ8_cqMKxoaunliNlpzNf/view?usp=sharing" rel="noopener noreferrer"&gt;📺 Click here to watch the demo&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  📁 Code Repository
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/Junnygram/kubegpt" rel="noopener noreferrer"&gt;🔗 GitHub – kubegpt&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🤖 How I Used Amazon Q Developer
&lt;/h2&gt;

&lt;p&gt;Amazon Q Developer was central to building &lt;strong&gt;KubeGPT&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🧠 I used Amazon Q to &lt;strong&gt;generate Go functions&lt;/strong&gt; that interact with Kubernetes clusters, including how to fetch and parse pod, deployment, and namespace data.&lt;/li&gt;
&lt;li&gt;🧪 It helped me &lt;strong&gt;test ideas rapidly&lt;/strong&gt;, like how to fetch logs or status events from pods based on natural language prompts.&lt;/li&gt;
&lt;li&gt;🔄 While iterating, I constantly used Q to &lt;strong&gt;reword or optimize troubleshooting flows&lt;/strong&gt; and surface useful cluster information.&lt;/li&gt;
&lt;li&gt;🎮 Amazon Q even helped brainstorm &lt;strong&gt;fun trivia questions&lt;/strong&gt; for the mini game inside the CLI.&lt;/li&gt;
&lt;li&gt;📚 I also used it to learn about &lt;strong&gt;kubectl diagnostic flags&lt;/strong&gt;, &lt;strong&gt;Kubernetes client-go usage&lt;/strong&gt;, and &lt;strong&gt;structuring CLI UX&lt;/strong&gt; with user-friendly prompts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;💡 &lt;em&gt;Tip: Integrate Amazon Q into your terminal flow to ask coding, infra, or K8s-related questions while building — it's like having a DevOps co-pilot!&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚙️ How to Run It
&lt;/h2&gt;

&lt;p&gt;To run &lt;strong&gt;KubeGPT&lt;/strong&gt; locally, follow these steps:&lt;/p&gt;

&lt;h3&gt;
  
  
  ✅ Prerequisites
&lt;/h3&gt;

&lt;p&gt;Make sure the following tools are installed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://kubernetes.io/docs/tasks/tools/" rel="noopener noreferrer"&gt;&lt;code&gt;kubectl&lt;/code&gt;&lt;/a&gt; – To communicate with your Kubernetes cluster&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://go.dev/doc/install" rel="noopener noreferrer"&gt;Go&lt;/a&gt; – To compile the project (&lt;code&gt;go1.18+&lt;/code&gt; recommended)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.aws.amazon.com/amazonq/latest/devguide/cli-install.html" rel="noopener noreferrer"&gt;Amazon Q Developer CLI&lt;/a&gt; &lt;em&gt;(optional, for enhanced AI support)&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📦 Setup
&lt;/h3&gt;

&lt;p&gt;Clone the repository and navigate into the directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Junnygram/kubegpt.git
&lt;span class="nb"&gt;cd &lt;/span&gt;kubegpt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  📥 Install Dependencies
&lt;/h3&gt;

&lt;p&gt;If you're &lt;strong&gt;not using an IDE like GoLand&lt;/strong&gt;, run this command to install project dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;go mod tidy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;This ensures all required Go packages from &lt;code&gt;go.mod&lt;/code&gt; are downloaded.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  🔨 Build the CLI Tool
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;go build &lt;span class="nt"&gt;-o&lt;/span&gt; kubegpt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This compiles the source code into a binary named &lt;code&gt;kubegpt&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  🚀 Run the Tool
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./kubegpt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You're now ready to experience Kubernetes command-line automation like never before.&lt;/p&gt;




</description>
      <category>devchallenge</category>
      <category>awschallenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
