Files
compose-anything/builds/k3s-inside-dind/.env.example
2025-12-27 11:24:44 +08:00

47 lines
1015 B
Plaintext

# Global Registry (optional)
# GLOBAL_REGISTRY=registry.example.com/
# K3s Version
# Version of K3s to install
K3S_VERSION=v1.28.2+k3s1
# K3s DinD Image Version
# Built image version tag
K3S_DIND_VERSION=0.2.1
# Preload Images
# Whether to pre-download common images during build (true/false)
# Set to false to speed up build time if you have good internet connectivity
PRELOAD_IMAGES=true
# Timezone
# Set the timezone for the container
TZ=UTC
# Kubernetes API Server Port
# Default: 6443
K3S_API_PORT_OVERRIDE=6443
# Docker TLS Port
# Default: 2376
DOCKER_TLS_PORT_OVERRIDE=2376
# K3s Token (optional)
# Shared secret token for cluster join
# K3S_TOKEN=
# K3s Disable Services
# Comma-separated list of services to disable
# Default: traefik
K3S_DISABLE_SERVICES=traefik
# Resource Limits
# CPU limit (cores)
K3S_DIND_CPU_LIMIT=2.00
# Memory limit
K3S_DIND_MEMORY_LIMIT=4G
# Resource Reservations
# CPU reservation (cores)
K3S_DIND_CPU_RESERVATION=0.50
# Memory reservation
K3S_DIND_MEMORY_RESERVATION=1G