作者归档:midas

Kylin V10 SP1 arm架构制作高版本openssh的rpm安装包

1,查看环境信息

#uname -a
4.19.90-17.5.ky10.aarch64 #1 SMP Fri Aug 7 13:35:33 CST 2020 aarch64 aarch64 aarch64 GNU/Linux

#dnf version
4.2.15
  Installed:[......]

Read more

发表在 linux | 留下评论

编译kubeadm修改证书过期时间为100年

一、拉取版本代码,并修改certs相关文件

二、重新编译源码,生成kubeadm

三、查看集群证书过期时间

[……]

Read more

发表在 kubernetes | 留下评论

helm使用技巧

helm uninstall不删除pvc

[……]

Read more

发表在 kubernetes | 留下评论

Ansible 开启统计任务处理时间

ansible默认运行的时候不显示处理时间,以及最后任务时间统计,任务多了不方便做统计,通过搜索文档发现在ansible2.2版本以上,ansible自带了/usr/lib/python2.6/site-packages/ansible/plugins/callback/profile_tasks.[……]

Read more

发表在 linux | 留下评论

常见私有网段

1 常见内网IP段

IANA(The Internet Assigned Numbers Authority)保留了如下三个地址段作为私有网络地址:

  1. 10.0.0.0/810.0.0.0 - 10.255.255.255 (10/8 prefix)
  2. 172.16.0.0/12172.16.[......]

    Read more

发表在 linux | 留下评论