05 2022 档案

摘要:参考地址:https://m.w3cschool.cn/article/88016752.html 阅读全文
posted @ 2022-05-29 07:08 青灯浊酒 阅读(4) 评论(0) 推荐(0) 编辑
摘要:IO模型:https://baijiahao.baidu.com/s?id=1718409483059542510 阅读全文
posted @ 2022-05-28 15:17 青灯浊酒 阅读(8) 评论(0) 推荐(0) 编辑
摘要:1、创建一个测试使用的包,暂时命名为 test;注意包名称可以为其它名称,不一定非得是test; 2、在test包中创建apiserver.go文件; package test func Show(a string) (err interface{}) { if a != "123" { retur 阅读全文
posted @ 2022-05-22 17:35 青灯浊酒 阅读(142) 评论(0) 推荐(0) 编辑
摘要:Centos 7 默认是没有装在ipvs模块的; 开机自动装载: vim /etc/sysconfig/modules/ipvs.modules ipvs_mods_dir="/usr/lib/modules/$(uname -r)/kernel/net/netfilter/ipvs" for mo 阅读全文
posted @ 2022-05-21 11:53 青灯浊酒 阅读(1847) 评论(0) 推荐(0) 编辑
摘要:配置文件路径:/etc/security/limits.conf 常用参数调整: * soft nofile 65536 * hard nofile 102400 * soft nproc 65535 * hard nproc 655350 * soft memlock unlimited * ha 阅读全文
posted @ 2022-05-21 11:00 青灯浊酒 阅读(72) 评论(0) 推荐(0) 编辑
摘要:1、操作系统:CA、server 两台主机均为Centos 7; 以下是创建CA过程 2、查看配置文件,确保相关目录和文件已经存在; 查看配置文件 ~]# cat /etc/pki/tls/openssl.cnf ########################################### 阅读全文
posted @ 2022-05-21 08:15 青灯浊酒 阅读(96) 评论(0) 推荐(0) 编辑
摘要:参考1:https://zhuanlan.zhihu.com/p/405811320 参考2:https://blog.csdn.net/liuhuayang/article/details/122834141 参考3:https://blog.51cto.com/mingongge/2982443 阅读全文
posted @ 2022-05-17 08:21 青灯浊酒 阅读(427) 评论(0) 推荐(0) 编辑
摘要:参考:https://github.com/lu569368/Practise_reflex 阅读全文
posted @ 2022-05-16 17:34 青灯浊酒 阅读(16) 评论(0) 推荐(0) 编辑
摘要:资源的 Label 可以通过 kubectl lable --help 查阅相关的操作; 标签筛选 Selector : -l, --selector='': Selector (label query) to filter on, supports '=', '==', and '!='.(e.g 阅读全文
posted @ 2022-05-13 18:18 青灯浊酒 阅读(107) 评论(0) 推荐(0) 编辑
摘要:Replication Controller 和 ReplicaSet Replication Controller 和 ReplicaSet 都是用于控制pod数量符合期望,ReplicaSet是支持基于集合的标签选择器的下一代Replication Controller,它主要用作Deploym 阅读全文
posted @ 2022-05-12 11:31 青灯浊酒 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Pod是Kubernetes中最小的单元,它由一组、一个或多个容器组成,它只是一个逻辑概念,每个pod中都包含一个pause容器;Pod内的容器都是平等的关系,共享Network Namespace、共享文件;pause容器的最主要的作用:创建共享的网络名称空间,以便于其它容器以平等的关系加入此网络 阅读全文
posted @ 2022-05-10 23:11 青灯浊酒 阅读(24) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示