Minikube + MCP server + VS code + continue + ollama
VS Code
↓
Continue Extension
↓
MCP Protocol (SSE)
↓
kubernetes-mcp-server
↓
Kubernetes API (via ServiceAccount)
🥇 OPTION 1 (RECOMMENDED): Build image locally & load into Minikube
This avoids GHCR entirely.
Step 1: Clone repo locally
Step 2: Build Docker image
If using Docker (recommended):
If using Podman:
Step 3: Load image into Minikube
PS C:\Users\Raj Kumar Gupta\Desktop\Raj\minikube> kubectl port-forward -n mcp svc/kubernetes-mcp-server 3000:3000
Forwarding from 127.0.0.1:3000 -> 3000
Forwarding from [::1]:3000 -> 3000
Handling connection for 3000
============================================
STEP 1️⃣ Install Ollama (Windows)
Download Ollama
-
Download Windows installer
-
Install (default options)
-
Reboot recommended
Verify Ollama installation
Open PowerShell:
PS C:\WINDOWS\system32> cd C:\Users\"Raj Kumar Gupta"\Desktop\Raj\minikube
PS C:\Users\Raj Kumar Gupta\Desktop\Raj\minikube> ollama --version
ollama version is 0.13.0
PS C:\Users\Raj Kumar Gupta\Desktop\Raj\minikube> ollama --version
ollama version is 0.13.0
PS C:\Users\Raj Kumar Gupta\Desktop\Raj\minikube> ollama pull llama3.1
pulling manifest
pulling 667b0c1932bc: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 4.9 GB
pulling 948af2743fc7: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 1.5 KB
pulling 0ba8f0e314b4: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 12 KB
pulling 56bb8bd477a5: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 96 B
pulling 455f34728c9b: 100% ▕██████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 487 B
verifying sha256 digest
writing manifest
success
PS C:\Users\Raj Kumar Gupta\Desktop\Raj\minikube> ollama run llama3.1
>>> hello
Hello! How are you today? Is there something I can help you with or would you like to chat?
============================================
C:\Users\Raj Kumar Gupta\.continue
No comments:
Post a Comment