上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要: secret Secret 类似于 ConfigMap 但专门用于保存机密数据。每个 Secret 的尺寸最多为 1MiB,不可以在静态 Pod 中使用 ConfigMap 或 Secret。 类型 Kubernetes 提供若干种内置的类型,用于一些常见的使用场景。 针对这些类型,Kubernet 阅读全文
posted @ 2022-11-10 23:05 mingtian是吧 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 常用的对CPU进行压测是通过计算圆周率让CPU高负荷运作,以达到考验CPU计算能力与稳定性的目的。下面介绍两种对CPU进行压测的方法: 第一种:bc计算圆周率 root@master01:~/image# echo "scale=5; 4*a(1)" | bc -l -q 3.14156 第二种:S 阅读全文
posted @ 2022-11-08 22:54 mingtian是吧 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 发行版本 root@testwedcom:~# cat /etc/issue Ubuntu 22.04.1 LTS \n \l 第一步:修改网卡设置 root@testwedcom:~# cat /etc/netplan/00-installer-config.yaml network: versi 阅读全文
posted @ 2022-10-24 16:26 mingtian是吧 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 快速开始 第一步:安装samba yum install samba samba-common samba-client -y cat /etc/samba/smb.conf [global] workgroup = WORKGROUP server string = Samba Server Ve 阅读全文
posted @ 2022-10-23 20:53 mingtian是吧 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 静态pod 静态pod是有kubelet直接管理的,kube-apiserver 可以看到静态pod,但是无法管理静态pod 静态pod始终绑定到特定节点 静态 Pod 的 spec 不能引用其他 API 对象 创建静态pod 第一步:创建一个目录文件 mkdir -p /etc/kubernete 阅读全文
posted @ 2022-10-19 18:00 mingtian是吧 阅读(54) 评论(0) 推荐(0) 编辑
摘要: microblog |_app |_ __init__.py |_ routes.py #应用文件 |_ microblog.py #程序的入口 |_ .flaskenv #变量文件 执行app cd microblog; python -m flask run init.py # cat app/ 阅读全文
posted @ 2022-10-11 22:55 mingtian是吧 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Fortio (Φορτίο) 最初是 Istio 的负载测试工具,后来(2018 年)毕业成为自己的项目。 fortio这个名字来自希腊语φορτίο,意思是负荷/负担。 https://gitee.com/mirrors/fortio#command-line-arguments docker 阅读全文
posted @ 2022-10-01 10:49 mingtian是吧 阅读(32) 评论(0) 推荐(0) 编辑
摘要: Intle/AMD (x86_64) ARM64 (aarch64) IBM PowerPC (ppc64le) IBM Z (s390x) 阅读全文
posted @ 2022-10-01 09:34 mingtian是吧 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 问题1 [root@ceph ~]# kubectl get cs Warning: v1 ComponentStatus is deprecated in v1.19+ NAME STATUS MESSAGE ERROR controller-manager Unhealthy Get "http 阅读全文
posted @ 2022-09-23 10:40 mingtian是吧 阅读(86) 评论(0) 推荐(0) 编辑
摘要: import os,threading,requests ip=input('请输入要检测的ip:').strip().split('.')[0:3] ip='.'.join(ip) def detect(i): address=ip+'.%s'%i if os.name == 'nt': res= 阅读全文
posted @ 2022-09-11 22:25 mingtian是吧 阅读(39) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页