会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
疯子7314
博客园
首页
新随笔
联系
订阅
管理
2025年10月14日
k8s导出所有helm
摘要: 目标:导出所有helm values.yaml,chart信息,namespace,输入大restore.sh脚本当中,然后执行restore.sh脚本,部署到另外一个k8s,实现快速灾难恢复 #!/bin/bash # 导出指定关键字的 helm release 配置 NAMESPACE_LIST
阅读全文
posted @ 2025-10-14 16:20 力王7314
阅读(8)
评论(0)
推荐(0)
2025年10月10日
gitlab配置aws的s3作为docker镜像的存储
摘要: 编辑 /etc/gitlab/gitlab.rb 文件 external_url 'http://192.168.60.118' registry_external_url 'http://192.168.60.118:5005' gitlab_rails['registry_enabled'] =
阅读全文
posted @ 2025-10-10 16:22 力王7314
阅读(5)
评论(0)
推荐(0)
2025年7月25日
falco安装和配置
摘要: falco是CNCF的项目,可以审计k8s容器下发生的动作,包括命令,进程等 部署: values.yaml文件内容如下: customRules: rulescustom.yaml: |- - macro: container condition: container.id != host - r
阅读全文
posted @ 2025-07-25 14:53 力王7314
阅读(38)
评论(0)
推荐(0)
2025年3月5日
批量执行命令
摘要: 把命令放置到aa.txt文件中 #!/bin/bash # 定义命令文件和错误日志 command_file="aa.txt" error_log="curl_errors.log" # 清空或创建错误日志 echo "错误报告 - $(date)" > $error_log # 记录总命令数和失败
阅读全文
posted @ 2025-03-05 17:41 力王7314
阅读(19)
评论(0)
推荐(0)
2025年2月11日
prometheus监控k8s并发送报警
摘要: 1.编辑prometheus的configmap文件 kubectl edit cm prometheus-1738826520-server 2.添加如下红色字体 apiVersion: v1 data: alerting_rules.yml: |- groups: - name: deploym
阅读全文
posted @ 2025-02-11 15:36 力王7314
阅读(36)
评论(0)
推荐(0)
2024年11月20日
runner安装和注册
摘要: #runner安装 yum -y install docker systemctl restart docker wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/
阅读全文
posted @ 2024-11-20 18:10 力王7314
阅读(20)
评论(0)
推荐(0)
2024年7月23日
迁移apollo数据库之后部署apollo
摘要: version: '3' services: apollo-configservice: image: apolloconfig/apollo-configservice:2.2.0 container_name: apollo-configservice restart: always netwo
阅读全文
posted @ 2024-07-23 14:07 力王7314
阅读(76)
评论(0)
推荐(0)
docker搭建rocketmq
摘要: [root@ip-10-32-49-66 ~]# cat rocketmq.yaml version: '3.8' services: # RocketMQ Nameserver namesrv: image: apache/rocketmq:4.7.1 container_name: rmqnam
阅读全文
posted @ 2024-07-23 11:26 力王7314
阅读(16)
评论(0)
推荐(0)
2024年4月30日
搭建https的es+kibana(7.9.1)
摘要: 背景:elasticsearch7需要开启https才可以创建报警,因此就需要搭建https的elasticsearch 参考官方网站:https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-deploy-elasticsearch.html
阅读全文
posted @ 2024-04-30 11:43 力王7314
阅读(461)
评论(0)
推荐(0)
2024年4月24日
istio灰度方案
摘要: 具体实现方式 第一步,安装istio,这里省略 第二步,查看istio的访问地址 [ec2-user@io-jumpserver ~]$ kubectl -n istio-system get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE isti
阅读全文
posted @ 2024-04-24 15:44 力王7314
阅读(19)
评论(0)
推荐(0)
下一页
公告