摘要: // github页面 https://github.com/elastic/elasticsearch?tab=readme-ov-file // dockerhub说明 https://hub.docker.com/_/elasticsearch // 具体参数列表(通过读取环境变量) http 阅读全文
posted @ 2026-02-27 05:56 shuix1ng 阅读(1) 评论(0) 推荐(0)
摘要: 首先注意: filebeat和elasticsearch的版本最好是一个大版本,kibana和elasticsearch的版本最好一致 踩坑: filebeat已经提交过没有k8s元数据的日志,就算删除了索引,但是filebeat中有记录,删除了registry文件但是还是有(需要filebeat清 阅读全文
posted @ 2026-02-27 05:54 shuix1ng 阅读(4) 评论(0) 推荐(0)
摘要: 检查是否已安装bash-completion rpm -qa | grep bash-completion # CentOS/RHEL dpkg -l | grep bash-completion # Ubuntu/Debian 如果没有安装,安装它 sudo yum install bash-co 阅读全文
posted @ 2026-02-27 05:52 shuix1ng 阅读(2) 评论(0) 推荐(0)
摘要: // 报错信息 "error":"post "https://kspmas.ksyun.com/v1/chat/completions":tls:failed to verify certificate:x509:certificate signed by unknown authority" // 阅读全文
posted @ 2026-02-19 02:18 shuix1ng 阅读(4) 评论(0) 推荐(0)
摘要: // Buildkitd镜像地址 https://docker.aityp.com/image/docker.io/earthly/buildkitd:v0.8.15 // buildkit下载(buildctl) https://github.com/moby/buildkit/releases/ 阅读全文
posted @ 2026-02-19 02:08 shuix1ng 阅读(3) 评论(0) 推荐(0)
摘要: Golang日志库ZAP // 基础示例 package main import "go.uber.org/zap" func main() { // 使用预定义的Logger(生产环境推荐) logger, _ := zap.NewProduction() defer logger.Sync() 阅读全文
posted @ 2026-02-05 23:29 shuix1ng 阅读(4) 评论(0) 推荐(0)
摘要: // github项目地址 https://github.com/douban/charts/blob/master/charts/dify/values.yaml // 修改仓库配置文件 redis: image: # bitnami is deprecating previously publi 阅读全文
posted @ 2026-01-28 21:03 shuix1ng 阅读(14) 评论(0) 推荐(0)
摘要: // harbor官方github链接 https://github.com/goharbor/harbor-helm // helm下载到本地并且安装 helm pull harbor/harbor helm install my-release harbor/harbor // 主要修改 镜像的 阅读全文
posted @ 2026-01-28 21:02 shuix1ng 阅读(11) 评论(0) 推荐(0)
摘要: // helm二进制版本安装 https://github.com/helm/helm/releases/tag/v4.0.4 //使用helm安装nfs插件 GitHub - kubernetes-sigs/nfs-subdir-external-provisioner: Dynamic sub- 阅读全文
posted @ 2026-01-28 21:01 shuix1ng 阅读(3) 评论(0) 推荐(0)
摘要: Golang JSON 序列化与反序列化详解 Go语言提供了强大的标准库支持JSON的序列化(编码)和反序列化(解码)。以下是详细的使用方法和示例。 基本概念 序列化(编码):将Go的数据结构转换为JSON字符串 反序列化(解码):将JSON字符串转换为Go的数据结构 1. 基本的序列化和反序列化 阅读全文
posted @ 2026-01-13 07:37 shuix1ng 阅读(25) 评论(0) 推荐(0)