会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Title
xieweikun
博客园
首页
新随笔
联系
订阅
管理
2025年10月16日
initContainers实现整个数据目录的挂载
摘要: 在部署mysql、oracle、tomcat测试时,面对配置文件非常多的情况下一个个挂载配置文件会显得非常麻烦,这时就可以通过将服务的整个数据目录给挂载下来,以方便修改配置和数据,但是因为服务需要初始化,直接挂载目录会将原本的数据给 覆盖掉导致容器报错,这时就可以采用initContainers将初
阅读全文
posted @ 2025-10-16 12:17 xwk123
阅读(5)
评论(0)
推荐(0)
2025年10月8日
helm 模板的基础使用
摘要: 1、Helm Chart 目录结构 mychart/ ├── Chart.yaml # 存放该Chart的基本信息 ├── values.yaml # 存放参数值 ├── charts/ # 存放该Chart依赖的其他子Chart ├── templates/ # 存放模板文件 │ ├── depl
阅读全文
posted @ 2025-10-08 14:11 xwk123
阅读(5)
评论(0)
推荐(0)
2025年10月1日
velero 备份及使用方法
摘要: 1、安装velero wget https://github.com/vmware-tanzu/velero/releases/download/v1.17.0/velero-v1.17.0-linux-amd64.tar.gz tar -xzf velero-v1.17.0-linux-amd64
阅读全文
posted @ 2025-10-01 22:16 xwk123
阅读(7)
评论(0)
推荐(0)
2025年9月13日
grafana部署并使用harbor监控模板
摘要: 1、部署grafana helm repo add grafana https://grafana.github.io/helm-charts helm repo update helm pull grafana/grafana --version 9.4.4 --untar cd grafana/
阅读全文
posted @ 2025-09-13 14:21 xwk123
阅读(16)
评论(0)
推荐(0)
2025年9月9日
Prometheus监控harbor仓库
摘要: 1、将harbor的metrics打开 # values.yaml ··· metrics: enabled: true # 打开 core: path: /metrics port: 8001 registry: path: /metrics port: 8001 jobservice: path
阅读全文
posted @ 2025-09-09 00:36 xwk123
阅读(11)
评论(0)
推荐(0)
2025年9月8日
helm 部署 prometheus
摘要: 1、拉取helm charts helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm search repo prometheus-com
阅读全文
posted @ 2025-09-08 23:41 xwk123
阅读(21)
评论(0)
推荐(0)
2025年9月5日
harbor镜像仓库部署
摘要: 1、拉取helm charts,修改values文件,部署无tls的harbor仓库 helm repo add harbor https://helm.goharbor.io helm repo update helm pull harbor/harbor --version 1.12.6 --u
阅读全文
posted @ 2025-09-05 17:06 xwk123
阅读(14)
评论(0)
推荐(0)
2025年8月31日
使用traefik去代理registry仓库时提示没有证书或404,以及怎么根据crd来写apiVersion:后面的这一段
摘要: 1、案例(之前使用的是ingress-nginx,登录一直都没有出现过问题,但是切换成traefik的ingressroute就出现了404的问题,traefik使用的hostNetwork) # ingressroute.yaml apiVersion: traefik.containo.us/v
阅读全文
posted @ 2025-08-31 16:32 xwk123
阅读(45)
评论(0)
推荐(0)
使用MetalLB生成LoadBalancer供traefik使用
摘要: 1、安装MetalLB helm repo add metallb https://metallb.github.io/metallb helm repo update helm pull metallb/metallb tar -zxf metallb-0.15.2.tgz cd MetalLB/
阅读全文
posted @ 2025-08-31 16:31 xwk123
阅读(11)
评论(0)
推荐(0)
traefik修改entryPoints端口
摘要: 1、修改helm的values.yaml文件 # values.yaml ... hostNetwork: true # 使用宿主机的网络 ports: traefik: port: 8080 .... .... .... web: port: 80 # 端口由 8000 改为 80 .... we
阅读全文
posted @ 2025-08-31 16:30 xwk123
阅读(11)
评论(0)
推荐(0)
下一页
公告