k8m

by weibaohui
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe port to listen on for the web interface3618
DEBUGNoEnable debug modefalse
LOG_VNoLog output level, same as klog usage2
ANY_SELECTNoWhether to enable arbitrary selection word explanation, enabled by defaulttrue
IN_CLUSTERNoWhether to automatically register and manage the host cluster, enabled by defaulttrue
KUBECONFIGNoPath to the kubeconfig file~/.kube/config
LOGIN_TYPENoLogin method (password, oauth, token)password
SQLITE_PATHNoPersistent database address, default sqlite database, file address /data/k8m.db/data/k8m.db
OPENAI_MODELNoDefault model name for the AI, can be set to deepseek-ai/DeepSeek-R1-Distill-Qwen-7BQwen/Qwen2.5-7B-Instruct
ADMIN_PASSWORDNoAdmin password123456
ADMIN_USERNAMENoAdmin usernameadmin
OPENAI_API_KEYNoAPI key for the AI model
OPENAI_API_URLNoAPI URL for the AI model
MCP_SERVER_PORTNoThe port to listen on for the MCP server3619
JWT_TOKEN_SECRETNoSecret key for JWT token generationyour-secret-key
NODE_SHELL_IMAGENoNode shell image addressalpine:latest
KUBECTL_SHELL_IMAGENoKubectl shell image addressbitnami/kubectl:latest

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

ID: f3fpjq4fd3