feat: add sim & pingap

This commit is contained in:
Sun-ZhenXing
2025-12-27 11:24:44 +08:00
parent 72b36f2748
commit d536fbc995
25 changed files with 1727 additions and 483 deletions

View File

@@ -19,7 +19,12 @@ echo "Docker is ready."
echo "Starting K3s..."
# Build K3s server arguments
K3S_ARGS="--snapshotter=native --write-kubeconfig-mode=644 --https-listen-port=6443"
if [ -n "$K3S_ARGS" ]; then
echo "Using custom K3S_ARGS: $K3S_ARGS"
else
echo "No custom K3S_ARGS provided, using defaults."
K3S_ARGS="--snapshotter=native --write-kubeconfig-mode=644 --https-listen-port=6443"
fi
# Add disable services if specified
if [ -n "$K3S_DISABLE_SERVICES" ]; then