Title
摘要: 在部署mysql、oracle、tomcat测试时,面对配置文件非常多的情况下一个个挂载配置文件会显得非常麻烦,这时就可以通过将服务的整个数据目录给挂载下来,以方便修改配置和数据,但是因为服务需要初始化,直接挂载目录会将原本的数据给 覆盖掉导致容器报错,这时就可以采用initContainers将初 阅读全文
posted @ 2025-10-16 12:17 xwk123 阅读(5) 评论(0) 推荐(0)
摘要: 1、Helm Chart 目录结构 mychart/ ├── Chart.yaml # 存放该Chart的基本信息 ├── values.yaml # 存放参数值 ├── charts/ # 存放该Chart依赖的其他子Chart ├── templates/ # 存放模板文件 │ ├── depl 阅读全文
posted @ 2025-10-08 14:11 xwk123 阅读(5) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)