会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
青灯浊酒
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2022年5月29日
Python 单元测试入门
摘要: 参考地址:https://m.w3cschool.cn/article/88016752.html
阅读全文
posted @ 2022-05-29 07:08 青灯浊酒
阅读(9)
评论(0)
推荐(0)
2022年5月28日
IO模型
摘要: IO模型:https://baijiahao.baidu.com/s?id=1718409483059542510
阅读全文
posted @ 2022-05-28 15:17 青灯浊酒
阅读(15)
评论(0)
推荐(0)
2022年5月22日
Go testing 测试
摘要: 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 青灯浊酒
阅读(147)
评论(0)
推荐(0)
2022年5月21日
Centos 7 装载ipvs模块
摘要: 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 青灯浊酒
阅读(1952)
评论(0)
推荐(0)
内核参数调整 limit
摘要: 配置文件路径:/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 青灯浊酒
阅读(111)
评论(0)
推荐(0)
私建CA签发证书
摘要: 1、操作系统:CA、server 两台主机均为Centos 7; 以下是创建CA过程 2、查看配置文件,确保相关目录和文件已经存在; 查看配置文件 ~]# cat /etc/pki/tls/openssl.cnf ###########################################
阅读全文
posted @ 2022-05-21 08:15 青灯浊酒
阅读(109)
评论(0)
推荐(0)
2022年5月17日
ETCD 集群搭建-静态配置方式
摘要: 参考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 青灯浊酒
阅读(475)
评论(0)
推荐(0)
2022年5月16日
GO 反射处理配置文件
摘要: 参考:https://github.com/lu569368/Practise_reflex
阅读全文
posted @ 2022-05-16 17:34 青灯浊酒
阅读(25)
评论(0)
推荐(0)
2022年5月13日
Kubernetes Label Selector Service
摘要: 资源的 Label 可以通过 kubectl lable --help 查阅相关的操作; 标签筛选 Selector : -l, --selector='': Selector (label query) to filter on, supports '=', '==', and '!='.(e.g
阅读全文
posted @ 2022-05-13 18:18 青灯浊酒
阅读(121)
评论(0)
推荐(0)
2022年5月12日
Kubernetes Deployment StatefulSet DaemonSet HPA
摘要: Replication Controller 和 ReplicaSet Replication Controller 和 ReplicaSet 都是用于控制pod数量符合期望,ReplicaSet是支持基于集合的标签选择器的下一代Replication Controller,它主要用作Deploym
阅读全文
posted @ 2022-05-12 11:31 青灯浊酒
阅读(93)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告