# Kubernetes MCP Server Environment Variables
# Copy this file to .env and configure for your environment
# ============================================
# LOCAL KUBECTL MODE
# ============================================
# Use these settings if kubectl is installed locally
# Path to kubeconfig file (optional, defaults to ~/.kube/config)
#KUBECONFIG=/path/to/your/kubeconfig
# Specific kubectl context to use (optional)
#K8S_CONTEXT=my-cluster-context
# Default namespace for operations (optional, defaults to "default")
K8S_DEFAULT_NAMESPACE=default
# Path to kubectl binary (optional, defaults to "kubectl")
#KUBECTL_PATH=/usr/local/bin/kubectl
# ============================================
# REMOTE SSH MODE (for K3s/Remote Clusters)
# ============================================
# Use these settings to connect to a remote Kubernetes cluster via SSH
# If K8S_SSH_HOST is set, the server will use SSH mode instead of local kubectl
# SSH host for remote kubectl execution
#K8S_SSH_HOST=192.168.16.100
# SSH username
#K8S_SSH_USER=mark
# SSH authentication - choose ONE method:
# Method 1: SSH Key (RECOMMENDED)
#K8S_SSH_KEY=/path/to/your/ssh/key
# Example Windows: C:/Users/Administrator/.ssh/id_ed25519_k8s
# Example Linux: /home/user/.ssh/id_ed25519
# Method 2: SSH Password (less secure)
#K8S_SSH_PASSWORD=your_password
# ============================================
# EXAMPLE CONFIGURATIONS
# ============================================
# Example 1: Local kubectl with custom kubeconfig
# KUBECONFIG=/Users/admin/.kube/prod-config
# K8S_DEFAULT_NAMESPACE=production
# Example 2: Remote K3s on Raspberry Pi (SSH Key)
# K8S_SSH_HOST=192.168.16.100
# K8S_SSH_USER=mark
# K8S_SSH_KEY=C:/Users/Administrator/.ssh/id_ed25519_k8s
# K8S_DEFAULT_NAMESPACE=default
# Example 3: Remote K3s with SSH password (Windows with plink)
# K8S_SSH_HOST=192.168.16.100
# K8S_SSH_USER=pi
# K8S_SSH_PASSWORD=raspberry
# K8S_DEFAULT_NAMESPACE=kube-system
# Example 4: Local minikube
# K8S_CONTEXT=minikube
# K8S_DEFAULT_NAMESPACE=default