随笔分类 - 常用软件工具
ceph集群状态 pgs not scrubbed in time
摘要:检查集群状态 ``` # ceph -s cluster: id: 83738b81-56e4-4d34-bdc2-3a60d789d224 health: HEALTH_WARN 75 pgs not scrubbed in time services: mon: 3 daemons, quoru
npc客户端安装配置
摘要:``` 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
calico.yaml
摘要:``` # Source: calico/templates/calico-kube-controllers.yaml # This manifest creates a Pod Disruption Budget for Controller to allow K8s Cluster Autosc
coredns.yaml
摘要:``` apiVersion: v1 kind: ServiceAccount metadata: name: coredns namespace: kube-system apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole meta
k8s推送代码至gitlab报错error: RPC failed; result=22, HTTP code = 413 fatal: The remote end hung up unexpectedly
摘要:``` # git push -u origin main Username for 'http://gitlab.wjl.net': root Password for 'http://root@gitlab.wjl.net': Counting objects: 1032, done. Delt
重启harbor的脚本
摘要:``` #!/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 正在进行
K8S使用ceph-csi持久化存储之RBD
摘要:Kubernetes集成Ceph一般有两种方案:Ceph组件运行在Kubernetes中,可以使用Rook;还有就是Kubernetes集成外部的Ceph集群。 Ceph版本 ``` [root@master ~]# ceph -v ceph version 14.2.22 (ca745980650
ceph-deploy部署ceph集群 nautilus 14.2.22
摘要:## 规划 | 主机名 | IP地址 | 系统 | ceph版本 | ceph硬盘 | 大小 | 组件 | 规划 | | | | | | | | | | | master | 192.168.1.60 | CentOS7.9 | ceph-15.2.10 | sdb | 100G | OSD、MOD
centos7 k8s v1.23.15 三节点 全二进制部署
摘要:| 主机名 | IP地址 | Pod 网段 | Service 网段 | | | | | | | master | 192.168.10.10 | 172.16.0.0/12 | 10.96.0.0/16 | | node1 | 192.168.10.20 | 172.16.0.0/12 | 10.
安装ceph集群
摘要:## 环境 ``` # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # uname -a Linux k8s-node01 6.2.5-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC
构建编译dockerfile docker build报错make: uname: Operation not permitted
摘要:报错信息:  查看docker版本 一线运维 📚 监控类型:基础资源监控 📜
mongodb nohttpinterface 参数 导致开机启动失败
摘要:报错信息如下: # /opt/mongoBD/bin/mongod --config /opt/mongoBD/mongod.conf Error parsing INI config file: unrecognized option 'nohttpinterface' try '/opt/mon
rpm包下载网站
摘要:推荐几个rpm包下载网站 比较全面但是下载速度有点慢 http://rpm.pbone.net/ 速度还可以就是没有上面的全 http://www.rpmfind.net/linux/rpm2html/search.php CentOS7 rpm包下载地址 http://mirror.centos.
openssl生成RSA公钥和私钥
摘要:生成公钥与私钥 生成私钥 生成2048长度的私钥,保存在rsa_private_key.pem文件中 # openssl genrsa -out rsa_private_key.pem 2048 Generating RSA private key, 2048 bit long modulus ..
nfs
摘要:NFS 介绍 NFS 是 Network FileSystem 的缩写,就是网络文件存储系统,它最早是由 Sun 公司发展出来的,也是 FreeBSD 支持的文件系统中的一个,它允许网络中的计算机之间通过 TCP/IP 网络共享资源。通过 NFS,我们本地 NFS 的客户端应用可以透明地读写位于服务