08 2023 档案

摘要:检查集群状态 ``` # ceph -s cluster: id: 83738b81-56e4-4d34-bdc2-3a60d789d224 health: HEALTH_WARN 75 pgs not scrubbed in time services: mon: 3 daemons, quoru 阅读全文
posted @ 2023-08-31 14:02 Chuyio 阅读(850) 评论(0) 推荐(0)
摘要:``` D:\app\windows_amd64_client\npc.exe install -server=xxx.xxx.xxx.xxx:8069 -vkey=07sdz23ykge63p21 -type=tcp D:\app\windows_amd64_client\npc.exe star 阅读全文
posted @ 2023-08-29 11:06 Chuyio 阅读(1100) 评论(0) 推荐(0)
摘要:``` # Source: calico/templates/calico-kube-controllers.yaml # This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autosc 阅读全文
posted @ 2023-08-29 11:02 Chuyio 阅读(87) 评论(0) 推荐(0)
摘要:``` apiVersion: v1 kind: ServiceAccount metadata: name: coredns namespace: kube-system apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole meta 阅读全文
posted @ 2023-08-29 11:01 Chuyio 阅读(82) 评论(0) 推荐(0)
摘要:``` git init git checkout -b main git remote add origin http://gitlab.wjl.net/root/xxxx.git git add . git commit -m "Initial commit" git push -u origi 阅读全文
posted @ 2023-08-20 16:03 Chuyio 阅读(55) 评论(0) 推荐(0)
摘要:``` # git push -u origin main Username for 'http://gitlab.wjl.net': root Password for 'http://root@gitlab.wjl.net': Counting objects: 1032, done. Delt 阅读全文
posted @ 2023-08-19 15:38 Chuyio 阅读(293) 评论(0) 推荐(0)
摘要:``` #!/bin/bash WORK_DIR=/root/harbor for STOP_COUNT_NUM in {1..10} do cd $WORK_DIR docker-compose stop if [ ! $? -eq 0 ]; then echo " STOP ERROR 正在进行 阅读全文
posted @ 2023-08-09 10:36 Chuyio 阅读(139) 评论(0) 推荐(0)
摘要:Kubernetes集成Ceph一般有两种方案:Ceph组件运行在Kubernetes中,可以使用Rook;还有就是Kubernetes集成外部的Ceph集群。 Ceph版本 ``` [root@master ~]# ceph -v ceph version 14.2.22 (ca745980650 阅读全文
posted @ 2023-08-07 21:50 Chuyio 阅读(1192) 评论(0) 推荐(1)
摘要:## 规划 | 主机名 | IP地址 | 系统 | ceph版本 | ceph硬盘 | 大小 | 组件 | 规划 | | | | | | | | | | | master | 192.168.1.60 | CentOS7.9 | ceph-15.2.10 | sdb | 100G | OSD、MOD 阅读全文
posted @ 2023-08-07 20:12 Chuyio 阅读(730) 评论(0) 推荐(1)