基本框架
This commit is contained in:
36
docs/05-01-k3s-部署homer首页面板.md
Normal file
36
docs/05-01-k3s-部署homer首页面板.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# 05-01-k3s 部署 Homer 首页面板
|
||||
|
||||
> 在 K3s 中部署 Homer,作为家庭实验室的统一导航页。
|
||||
|
||||
---
|
||||
|
||||
## 部署思路
|
||||
|
||||
- Homer 作为普通 Web 应用运行在 K3s
|
||||
- 通过 Traefik 暴露域名(例如 `home.example.com`)
|
||||
|
||||
---
|
||||
|
||||
## 快速部署
|
||||
|
||||
```bash
|
||||
kubectl create ns homer
|
||||
kubectl apply -f ansible/files/homer/homer.yaml
|
||||
```
|
||||
|
||||
**唯一真源**:[`ansible/files/homer/homer.yaml`](../ansible/files/homer/homer.yaml)(Deployment + Service + Ingress;按需改 `host`)。
|
||||
|
||||
---
|
||||
|
||||
## 验证
|
||||
|
||||
```bash
|
||||
kubectl -n homer get pod,svc,ing -o wide
|
||||
curl -I --max-time 3 http://192.168.2.61/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 下一步
|
||||
|
||||
- `05-02-onenav首页面板.md`
|
||||
Reference in New Issue
Block a user