08 2022 档案

摘要:描述 mod_cluster是jboss的一个开源集群模块(基于httpd 2.2.x,也就是httpd2的一个模块),主要功能包括:自动发现集群主机并注册主机;为集群提供负载均衡能力;为集群提供容灾的能力。mod_cluster 和mod_jk, mod_proxy类似,是一个基于httpd的负载 阅读全文
posted @ 2022-08-29 13:07 fengjian1585 阅读(506) 评论(0) 推荐(0) 编辑
摘要:1、Listen指令 及 PidFile 指令 Listen指令是为了设置监听套接字 。PidFile指令是为了指定httpd的PidFile文件。 语法:Listen [IP-address:]portnumber [protocol] 语法2:PidFile filename Listen 80 阅读全文
posted @ 2022-08-29 10:28 fengjian1585 阅读(260) 评论(0) 推荐(0) 编辑
摘要:使用 subPath 有时,在单个 Pod 中共享卷以供多方使用是很有用的。 volumeMounts.subPath 属性可用于指定所引用的卷内的子路径,而不是其根路径。 下面例子展示了如何配置某包含 LAMP 堆栈(Linux Apache MySQL PHP)的 Pod 使用同一共享卷。 此示 阅读全文
posted @ 2022-08-23 16:01 fengjian1585 阅读(1302) 评论(0) 推荐(0) 编辑
摘要:HorizontalPodAutoscaler(简称 HPA ) 自动更新工作负载资源(例如 Deployment 或者 StatefulSet), 目的是自动扩缩工作负载以满足需求。 水平扩缩意味着对增加的负载的响应是部署更多的 Pod。 这与 “垂直(Vertical)” 扩缩不同,对于 Kub 阅读全文
posted @ 2022-08-23 13:49 fengjian1585 阅读(236) 评论(0) 推荐(0) 编辑
摘要:创建pv yaml挂载使用 storageclass 动态挂载, storageclassName 为 nfs-storageclass 阅读全文
posted @ 2022-08-22 13:35 fengjian1585 阅读(27) 评论(0) 推荐(0) 编辑
摘要:1.mod_cluster简介 mod_cluster是基于 httpd 的负载均衡器。与mod_jk和mod_proxy一样,mod_cluster使用通信通道将请求从 httpd 转发到一组应用程序服务器节点之一。与mod_jk和mod_proxy不同,mod_cluster利用应用程序服务器节 阅读全文
posted @ 2022-08-19 14:13 fengjian1585 阅读(207) 评论(0) 推荐(0) 编辑
摘要:1)安装rpm-build软件包 [root@localhost~]# yum -y install rpm-build 2)生成rpmbuild目录结构 [root@localhost~]# rpmbuild -ba nginx.spec //制作rpm包,但是没有配置文件会报错,报错也需要敲,会 阅读全文
posted @ 2022-08-19 13:31 fengjian1585 阅读(493) 评论(0) 推荐(0) 编辑
摘要:1 cilium介绍 Cilium是一种开源网络实现方案,与其他网络方案不同的是,Cilium着重强调了其在网络安全上的优势,可以透明的对Kubernetes等容器管理平台上的应用程序服务之间的网络连接进行安全防护。 Cilium在设计和实现上,基于Linux的一种新的内核技术eBPF,可以在Lin 阅读全文
posted @ 2022-08-18 15:28 fengjian1585 阅读(527) 评论(0) 推荐(0) 编辑
摘要:redhat 终端提示证书过期 Broadcast message from root@localhost.localdomain Your trial is EXPIRED and no VALID license. Phone Number: 400-706-1825 E-mail Addres 阅读全文
posted @ 2022-08-17 08:44 fengjian1585 阅读(140) 评论(0) 推荐(0) 编辑
摘要:nova 报错 403 没有权限 2022-08-11 09:13:54.985 1130 ERROR nova.scheduler.client.report [req-53c51f27-48af-4577-9bf4-09d175a9f9ed - - - - -] [None] Failed to 阅读全文
posted @ 2022-08-11 11:17 fengjian1585 阅读(294) 评论(0) 推荐(0) 编辑
摘要:1. 准备go环境 下载go, 编译kubernetes 要求go大于1.17版本 wget https://golang.google.cn/dl/go1.18.linux-amd64.tar.gz tar -zxvf go1.18.linux-amd64.tar.gz rm /usr/local 阅读全文
posted @ 2022-08-09 11:02 fengjian1585 阅读(167) 评论(0) 推荐(0) 编辑
摘要:# my global config global: scrape_interval: 30s # Set the scrape interval to every 15 seconds. Default is every 1 minute. evaluation_interval: 30s # E 阅读全文
posted @ 2022-08-09 10:21 fengjian1585 阅读(46) 评论(0) 推荐(0) 编辑
摘要:1、想要去删除k8s中的一个指定命名空间,刚开始使用命令 kubectl delete ns 命名空间的名字 # 或者使用 kubectl delete ns 命名空间的名字 --force --grace-period=0 使用以上两种命令均无法成功删除命名空间,只会使命名空间的状态为Termin 阅读全文
posted @ 2022-08-06 14:32 fengjian1585 阅读(1260) 评论(0) 推荐(0) 编辑