/xchart

Primary LanguageSmartyGNU Lesser General Public License v3.0LGPL-3.0

truenas scale 个人应用库

APP List

应用部署请参考各个应用下的 readme.md

  • jellyfin 使用 nyanmisaka/jellyfin docker 镜像,增加配置 /etc/hosts,支持 host 网络模式
  • vlmcsd 运行在 docker 里的 kms 激活服务器
  • ChineseSubFinder 自动下载字幕
  • MT Photos 照片备份 APP, 收费软件,官方网站
  • xunlei 迅雷 docker 版本,邀请码:迅雷牛通,支持 host 网络模式
  • moviepilot 追剧,媒体整理
  • cookiecloud 同步 cookie
  • hlink 硬链接工具
  • qbittorrent bt 下载工具,支持 host 网络模式
  • transmission bt 下载工具,支持 host 网络模式
  • alist 挂载网盘,支持 host 网络模式
  • IT tools Useful tools for developer and people working in IT
  • lucky 家用软硬路由公网利器
  • stripcharts 筛选你需要的应用推送到自建 gitea 服务器, gitee 或者 github
  • kodbox 可道云
  • kube-explorer kube-explorer is a portable explorer for Kubernetes without any dependency
  • 小🐱咪 同时部署了 core 和 ui, core,强制使用了host网络
  • resilio-sync bt 同步 app

增加第三方应用库

增加第三方应用库

使用集群内的域名,应用互访

  1. 查看所有 pod 的信息,获得应用的 NAMESPACE
k3s kubectl get pod -A
  1. 查看指定命名空间的 svc 信息,获得应用的 SERVICE-NAME
k3s kubectl get svc -n $NAMESPACE
  1. 集群内的域名
$SERVICE-NAME.$NAMESPACE.svc.cluster.local

证书导入

  1. 对于没有证书的朋友可以使用mkcert生成自己域名的证书,在局域网内测试,具体使用方法请参考该项目 github 上说明。
  2. 也可以使用 acme 自动获取证书,参考视频ACME 自动添加泛域名证书

解决 truenas scale 痛点

  1. 权限将 acl 权限设置为 nfsv4,方便配置

  2. bios 时间同步
    truenas scale webui 时间与 shell 的时间对不上解决方法,shell 下依次执行以下命令

sudo bash
systemctl stop ntp
ntpd -g -q
systemctl start ntp
hwclock --systohc
date

参考来源:https://www.truenas.com/community/threads/truenas-displays-time-correctly-but-sets-it-in-bios.109450/

  1. 应用安装
    应用运行 id 对于挂载的数据集要有读写权限,对应第 1 步的权限设置

  2. 镜像加速

  • docker.io 的加速 truenas scale 23.10 配置 containerd 镜像加速 在/root/k3s-registries/registries.yaml写入以下内容
mirrors:
  "docker.io":
    endpoint:
      - "https://dockerproxy.cn" 
      - "https://docker.agsv.top"
      - "https://docker.agsvpt.work"
      - "https://do.nark.eu.org"
      - "https://registry-1.docker.io"

然后执行以下命令,24版本 硬链接会提示跨文件系统,改为 cp -f 强制覆盖

cp -f /root/k3s-registries/registries.yaml /etc/rancher/k3s/registries.yaml 
systemctl restart k3s.service ##重启 k3s 服务

参考 https://www.cnblogs.com/rancherlabs/p/14324469.html

已证实重启不会失效

升级要重新配置,可以设置开启执行以下命令

cp -f /root/k3s-registries/registries.yaml /etc/rancher/k3s/registries.yaml 

请我喝奶茶

  • 微信

  • 支付宝