会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lfxx
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
13
下一页
2025年10月19日
clickhouse搭建单机版和集群版本
摘要: 官网地址:https://clickhouse.com/docs/zh/install/redhat 本次部署版本是25.7.8.71,github下载地址https://github.com/ClickHouse/ClickHouse/releases 一、单机版 采用tgz方式部署 cd /op
阅读全文
posted @ 2025-10-19 20:16 苦逼yw
阅读(86)
评论(0)
推荐(0)
2025年9月13日
ingress 配置说明
摘要: 1、需求:testinfo.org域名下的所有子域名都转发到pgs-gateway的service。试了以下配置, - host: "*.testinfo.org" 不生效 apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name:
阅读全文
posted @ 2025-09-13 02:12 苦逼yw
阅读(8)
评论(0)
推荐(0)
2025年9月9日
canal 1.1.5同步mysql到kafka
摘要: 参考:https://blog.csdn.net/ashic/article/details/104722975 参考:https://blog.csdn.net/nmsoftklb/article/details/149118188 canal的github地址:https://github.co
阅读全文
posted @ 2025-09-09 10:40 苦逼yw
阅读(14)
评论(0)
推荐(0)
2025年9月2日
nginx地址重定向和重写
摘要: 简单来说,重定向是告诉客户端“你要的资源在另一个地方,请去那里找”,而重写是服务器内部“悄悄地”把请求换个样子来处理,客户端对此一无所知。 下面我们详细解释并举例说明。 核心区别 特性重定向 (Redirect)重写 (Rewrite) 本质 客户端行为 服务器内部行为 HTTP响应 返回 3xx
阅读全文
posted @ 2025-09-02 14:08 苦逼yw
阅读(218)
评论(0)
推荐(0)
2025年8月22日
python用过的库大全
摘要: import json import requests import threading #多线程import osimport sysimport reimport time import pymysql import logging import pandas as pd import sign
阅读全文
posted @ 2025-08-22 00:54 苦逼yw
阅读(7)
评论(0)
推荐(0)
2025年8月17日
Prometheus结合node_exporter实现自定义监控指标
摘要: 1、创建指标采集脚本,该脚本结合crontab的* * * * *表示每15s运行一次 mkdir /opt/custom_metrics/ vim /opt/custom_metrics/disk_usage_monitor.sh #!/bin/bash # /opt/custom_metrics
阅读全文
posted @ 2025-08-17 01:35 苦逼yw
阅读(40)
评论(0)
推荐(0)
Prometheus常用监控指标介绍
摘要: deepseek解释 1、cpu使用率 promql表达式:100 - (avg(irate(node_cpu_seconds_total{mode="idle"}[5m])) by(instance) * 100) 可以拆解为: node_cpu_seconds_total{mode="idle"
阅读全文
posted @ 2025-08-17 01:20 苦逼yw
阅读(148)
评论(0)
推荐(0)
2025年6月6日
k8s部署nacos集群
摘要: 1、部署 MySQL(若无可先部署) 注意storageClassName名字 vim nacos-mysql.yaml apiVersion: apps/v1 kind: StatefulSet metadata: name: nacos-mysql namespace: nacos spec:
阅读全文
posted @ 2025-06-06 12:11 苦逼yw
阅读(324)
评论(0)
推荐(0)
2025年6月5日
k8s部署单机nacos
摘要: Derby + PVC 方案 + 鉴权配置 1、创建configmap存储nacos配置 vim nacos-auth-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: nacos-auth-config namespace:
阅读全文
posted @ 2025-06-05 15:26 苦逼yw
阅读(145)
评论(0)
推荐(0)
2025年6月4日
k8s 部署redis cluster
摘要: 1、创建configmap存储redis配置 vim redis-configmap.yaml apiVersion: v1 kind: ConfigMap metadata: name: redis-cluster-config data: redis.conf: | cluster-enable
阅读全文
posted @ 2025-06-04 10:41 苦逼yw
阅读(89)
评论(0)
推荐(0)
1
2
3
4
5
···
13
下一页