日常更新
This commit is contained in:
11
ansible/files/01-01/k3s-server-install.example.sh
Normal file
11
ansible/files/01-01/k3s-server-install.example.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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 路径随方案在文档中说明。"
|
||||
Reference in New Issue
Block a user