<module>.containers.args.
API Module Arguments
The API module is the backend that communicates with the Kubernetes API server and serves Dashboard data.Configuration in Helm
Available Arguments
boolean
default:"false"
Disable CSRF (Cross-Site Request Forgery) protection.
boolean
default:"false"
Force Dashboard to work in full proxy mode, disabling in-cluster client calls.Useful when Dashboard runs outside the cluster and must proxy all requests.
boolean
default:"false"
Enable OpenAPI v2 endpoint at Used to autogenerate OpenAPI/GraphQL schemas.
/apidocs.json.boolean
default:"false"
Enable pprof profiling endpoint.Exposes profiling data at
localhost:8070/debug/pprof for performance debugging.boolean
default:"false"
Enable Prometheus metrics endpoint.Exposes metrics at
localhost:8080/metrics for Prometheus scraping.boolean
default:"false"
Skip TLS certificate verification when connecting to Kubernetes API server.
boolean
default:"false"
Automatically generate self-signed certificates for HTTPS.Certificates are stored in
--default-cert-dir.boolean
default:"true"
Enable client-side caching.Improves performance by caching Kubernetes API responses.
boolean
default:"false"
Enable multi-cluster cache context support.Requires a token exchange endpoint for multi-cluster scenarios.
number
default:"1000"
Maximum number of cache entries.
duration
default:"10m"
Time-to-live for each cache entry.
duration
default:"5s"
Minimum time between cache refreshes in background.
number
default:"8000"
Port for HTTP requests.
number
default:"8001"
Port for HTTPS requests.
number
default:"30"
Seconds between metric client health checks.
string
default:"127.0.0.1"
IP address for
--insecure-port.string
default:"0.0.0.0"
IP address for
--port.string
default:""
Endpoint for token exchange when
--cluster-context-enabled=true.string
default:"/certs"
Directory for TLS certificates.Path is relative to the container, not the host.
string
default:""
Path to CA bundle for API server HTTPS connections.
string
default:""
Path to TLS certificate file.
string
default:""
Path to TLS private key file.
string
default:""
Kubernetes API server address.If not specified, uses in-cluster service discovery.
string
default:"sidecar"
Metrics provider type.Options:
sidecar- Use metrics-scraper sidecarnone- Disable metrics
string
default:""
Address of the metrics scraper sidecar.If not specified, uses service proxy.
string
default:""
Path to kubeconfig file.
string
default:"kubernetes-dashboard"
Namespace for Dashboard-specific resources.
string
default:"kubernetes-dashboard-metrics-scraper"
Name of the metrics scraper service.
string
default:""
Base64 encoded 256-byte CSRF key.Can also be loaded from
CSRF_KEY environment variable (preferred).number
default:"1"
Log verbosity level.Higher values = more verbose logging.
Auth Module Arguments
The Auth module handles user authentication and token management.Configuration in Helm
Available Arguments
boolean
default:"false"
Skip TLS verification for API server connections.
string
default:""
Path to CA bundle for API server HTTPS.
number
default:"8000"
Port for HTTPS requests.
string
default:"0.0.0.0"
IP address to bind to.
string
default:""
Path to kubeconfig file.
string
default:""
Kubernetes API server address.
string
default:""
Base64 encoded CSRF key.Preferably loaded from
CSRF_KEY environment variable.number
default:"1"
Log verbosity level.
Web Module Arguments
The Web module serves the Dashboard frontend UI.Configuration in Helm
Available Arguments
boolean
default:"false"
Automatically generate self-signed certificates.
number
default:"8000"
HTTP port.
number
default:"8001"
HTTPS port.
string
default:"127.0.0.1"
IP address for HTTP.
string
default:"0.0.0.0"
IP address for HTTPS.
string
default:"kube-system"
Namespace for Dashboard resources.
string
default:"/certs"
Directory for TLS certificates.
string
default:""
TLS certificate file path.
string
default:""
TLS private key file path.
string
default:"kubernetes-dashboard-settings"
string
default:""
Banner message displayed to all users.Accepts simple HTML tags:
string
default:"INFO"
Banner severity level (affects color/styling).Options:
INFO- Blue bannerWARNING- Yellow/orange bannerERROR- Red banner
string
default:"./locale_conf.json"
Path to locale configuration file.
string
default:""
Path to kubeconfig file.
number
default:"1"
Log verbosity level.
Metrics Scraper Arguments
The Metrics Scraper polls and stores metrics from the Kubernetes Metrics Server.Configuration in Helm
Available Arguments
duration
default:"1m"
Polling interval for metrics.Lower values = more frequent updates, higher resource usage.
duration
default:"15m"
Time to retain metrics before purging.
string
default:""
Path to kubeconfig file.
string
default:"/tmp/metrics.db"
SQLite database file path.
string
default:""
Comma-separated list of namespaces to monitor.When provided, node metrics are skipped.
number
default:"1"
Log verbosity level.
Example Configurations
Production API with Monitoring
Development with Debugging
High-Performance Configuration
Multi-Cluster Setup
Related Configuration
- Helm Values Reference - Container args configuration
- Settings Configuration - UI behavior settings
- Security Configuration - CSRF and TLS configuration