Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | The port to listen on for the web interface | 3618 |
DEBUG | No | Enable debug mode | false |
LOG_V | No | Log output level, same as klog usage | 2 |
ANY_SELECT | No | Whether to enable arbitrary selection word explanation, enabled by default | true |
IN_CLUSTER | No | Whether to automatically register and manage the host cluster, enabled by default | true |
KUBECONFIG | No | Path to the kubeconfig file | ~/.kube/config |
LOGIN_TYPE | No | Login method (password, oauth, token) | password |
SQLITE_PATH | No | Persistent database address, default sqlite database, file address /data/k8m.db | /data/k8m.db |
OPENAI_MODEL | No | Default model name for the AI, can be set to deepseek-ai/DeepSeek-R1-Distill-Qwen-7B | Qwen/Qwen2.5-7B-Instruct |
ADMIN_PASSWORD | No | Admin password | 123456 |
ADMIN_USERNAME | No | Admin username | admin |
OPENAI_API_KEY | No | API key for the AI model | |
OPENAI_API_URL | No | API URL for the AI model | |
MCP_SERVER_PORT | No | The port to listen on for the MCP server | 3619 |
JWT_TOKEN_SECRET | No | Secret key for JWT token generation | your-secret-key |
NODE_SHELL_IMAGE | No | Node shell image address | alpine:latest |
KUBECTL_SHELL_IMAGE | No | Kubectl shell image address | bitnami/kubectl:latest |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |