kubernetes-guide/content/cases/home-network/aria2.md

36 lines
639 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 离线下载工具Aria2
## 开源项目
本文部署的 Aria2 使用这个开源项目构建的容器镜像https://github.com/P3TERX/Aria2-Pro-Docker
## 目录结构
```txt
aria2
├── daemonset.yaml
└── kustomization.yaml
```
## 准备 daemonset.yaml
<FileBlock showLineNumbers title="daemonset.yaml" file="home-network/aria2.yaml" />
* 注意修改 yaml 中指定的密码111111
## 准备 kustomization.yaml
```txt
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- daemonset.yaml
namespace: default
```
## 访问 Aria2
访问入口http://`路由器内网 IP`:6880/