Files
k3s/笔记.md
2026-02-05 00:11:05 +08:00

54 lines
1.2 KiB
Markdown
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.
配置内容:
- s3.u6.net3w.com - MinIO S3 API
- console.s3.u6.net3w.com - MinIO Web 控制台
1. 更新 Caddy 配置:
kubectl apply -f /home/fei/k3s/caddy-ssl-deployment.yaml
2. 部署 MinIO
kubectl apply -f /home/fei/k3s/009-基础设施/002-s3/minio.yaml
3. 重启 Caddy Pod 使配置生效:
kubectl rollout restart deployment/caddy -n default
美!所有服务已成功部署并正常运行。
✅ 测试结果: ─
1. SSL 证书 - 已成功申请
- s3.u6.net3w.com ✓
- console.s3.u6.net3w.com ✓
2. 路由测试 - 正常工作
- S3 API 返回 AccessDenied正常因为未认证
- Console 返回 MinIO 登录页面 HTML
3. 外部访问 - 可用
- https://console.s3.u6.net3w.com - MinIO Web 控制台
- https://s3.u6.net3w.com - S3 API 端点
架构流程:
用户 HTTPS 请求
Caddy (SSL 终止,端口 443)
↓ HTTP
Traefik (路由,端口 80)
MinIO Service (9000/9001)
登录信息:
- 控制台地址: https://console.s3.u6.net3w.com
- 账号: admin
- 密码: adminks..
S3 客户端配置:
- Endpoint: https://s3.u6.net3w.com
- Access Key: admin
- Secret Key: adminks..
所有服务已就绪,可以开始使用!
✻ Cooked for 2m 28s