上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: [root@master01 ~]# iperf3 -c 10.4.7.21 -p 8888 -b 1000M Connecting to host 10.4.7.21, port 8888 [ 4] local 10.4.7.231 port 41814 connected to 10.4.7.2 阅读全文
posted @ 2024-06-13 14:58 mingtian是吧 阅读(46) 评论(0) 推荐(0)
摘要: openresty 安装依赖 #GCC (gun compiler collection) #gcc-c++ c++ 编译器 yum install gcc gcc-c++ -y # rewrite模块需要 pcre (perl compatible regular expression per 兼 阅读全文
posted @ 2024-06-09 11:52 mingtian是吧 阅读(93) 评论(0) 推荐(0)
摘要: 在Nginx中,可以使用$http_user_agent变量来获取请求的User-Agent头,然后基于这个头的值来决定如何转发请求。 实现方式一: http { map $http_user_agent $backend { default http://backend3; ~*Chrome ht 阅读全文
posted @ 2024-06-09 11:14 mingtian是吧 阅读(76) 评论(0) 推荐(0)
摘要: 修改网卡名称为 eth0 ifnames=0 biosdevname=0 网卡配置 [root@jenkins-s3 ~]# cat /etc/sysconfig/network-scripts/ifcfg-ens192 TYPE="Ethernet" PROXY_METHOD="none" BRO 阅读全文
posted @ 2024-06-05 17:37 mingtian是吧 阅读(22) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/li150dan/p/15603149.html 作为 Windows 服务运行# 为了将 VictoriaMetrics 作为 Windows 服务运行,需要为 WinSW 创建服务配置,然后根据以下指南将其安装为服务: 创建服务配置: <servi 阅读全文
posted @ 2024-06-04 22:36 mingtian是吧 阅读(39) 评论(0) 推荐(0)
摘要: 网络配置格式 graph LR A[配置格式] A1[cniVersion] A2[name] A3[plugins] A4[disableCheck] A --> A1 A --> A2 A --> A3 A -->|大多数cni中没有配置这块| A4 A31(type) A32(capabili 阅读全文
posted @ 2024-05-03 13:57 mingtian是吧 阅读(30) 评论(0) 推荐(0)
摘要: mkdir /usr/local/openresty/nginx/conf/ssl cd /usr/local/openresty/nginx/conf/ssl openssl genrsa -out server.key 2048 openssl req -new -key server.key 阅读全文
posted @ 2024-04-29 19:02 mingtian是吧 阅读(13) 评论(0) 推荐(0)
摘要: raid #!/bin/bash # describe: use all free disk to create raid10 # 创建一个未使用磁盘的数组 ls_disk(){ for disk in $(lsblk|awk '/disk/{print $1}');do mount|grep -q 阅读全文
posted @ 2024-04-25 12:29 mingtian是吧 阅读(33) 评论(0) 推荐(0)
摘要: imagePolicyWebhook imagePolicyWebhook是一个评估image的准入控制器。需要启动一个https的服务来执行该动作 【功能实践】 为webhook 生成ssl 证书 生成server.csr 和 server-key.pem cat <<EOF | cfssl ge 阅读全文
posted @ 2024-03-17 09:50 mingtian是吧 阅读(85) 评论(0) 推荐(0)
摘要: 在 Kubernetes 中,审计(Audit)和事件(Event)是两种不同的日志记录机制,它们各自有不同的用途和特性: 审计(Audit): 目的:审计日志主要用于记录和监控集群中发生的安全相关事件,如用户操作、API 请求、权限变更等。审计日志有助于满足合规性要求,进行安全审计和事后分析。 内 阅读全文
posted @ 2024-03-10 20:54 mingtian是吧 阅读(105) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 20 下一页