Files
2026-03-29 09:08:01 +08:00

12 lines
418 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# 控制节点安装 k3s server示例— 真源目录 ansible/files/01-01/
# 详见docs/01-01-k3s-控制节点含traefik.md
# 方案一:默认数据目录
# curl -sfL https://get.k3s.io | sh -
# 方案二:数据盘
# curl -sfL https://get.k3s.io | sh -s - server --data-dir=/storage
echo "[INFO] 取消注释其一并在节点上执行token 路径随方案在文档中说明。"