37 lines
658 B
Markdown
37 lines
658 B
Markdown
# 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`
|