Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf_ai_k8s_runbook

A Kubernetes Runbook Assistant built on Cloudflare Workers AI.

Describe a Kubernetes alert or incident in plain English and get step-by-step remediation guidance powered by Llama 3.3 70B.

Architecture

  • Cloudflare Workers — handles HTTP routing
  • Durable Objects — stores conversation history per session
  • Workers AI — runs Llama 3.3 70B inference

Stack

Component Technology
Runtime Cloudflare Workers
Language TypeScript
LLM @cf/meta/llama-3.3-70b-instruct-fp8-fast
State Durable Objects
Frontend Vanilla HTML/CSS/JS served from Worker

Setup

Prerequisites

  • Node.js 18+
  • Cloudflare account
  • Wrangler CLI

Install

npm install

Local development

npm run dev -- --local

Open http://localhost:8787

Deploy

npm run deploy

Usage

  1. Open the app URL in your browser
  2. Describe a Kubernetes incident in the chat input
  3. The assistant returns diagnosis, remediation steps, verification, and prevention advice
  4. Continue the conversation — the assistant remembers context
  5. Click + new chat to start a fresh session

Example prompts

  • Pod stuck in CrashLoopBackOff in production namespace
  • OOMKilled exit code 137 on Java application pods
  • Pods stuck in Pending state — Insufficient cpu
  • Node NotReady after cluster upgrade on EKS

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages