
制作一个简单的rpm包:helloworld
一. 简介 之前介绍yum是基于rpm的包管理工具,yum最终安装的是rpm包,那rpm包是如何来的呢? 按照网上的教程制作了个rpm包,这里记录下。 二. 过程 1)安装制作工具 yum -y install rpm-build rpm-...
一. 简介 之前介绍yum是基于rpm的包管理工具,yum最终安装的是rpm包,那rpm包是如何来的呢? 按照网上的教程制作了个rpm包,这里记录下。 二. 过程 1)安装制作工具 yum -y install rpm-build rpm-...
问题一 docker ps 无响应, Node 节点表现为 NotReady。 运行信息 $ docker -v $ Docker version 17.03.2-ce, build f5ec1e2 $ docker-containerd ...
Linux操作系统标准化 系统环境标准化 系统版本 CentOS Linux release 7.4.1708 (Core) #以测试机为例 #cat /etc/redhat-release CentOS Linux release 7.4...
Pod排错 通用排错方式: 一般来说,无论 Pod 处于什么异常状态,都可以执行以下命令来查看 Pod 的状态 kubectl get pod <pod-name> -o yaml #查看 Pod 的配置是否正确 kubectl...
安装glusterfs 如果你对glusterfs不熟悉可以看这个地方:GlusterFS快速安装 在每个节点上创建目录 mkdir -p /data/volume 创建glusterfs卷 gluster volume create k8...
pods报错如下 Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 5m48s default-scheduler Suc...
集群节点 扩展集群 1,必须做hosts域名解析 其实通过IP地址也能做集群,但是不建议这种方式. [root@glusterfs01 pv1]# tail -n3 /etc/hosts 10.0.0.150 glusterfs01 10....
安装前准备 这边最少需要三台机器,所有机器关闭防火墙和Selinux,所有机器需要两块硬盘, [root@guilin ~]# systemctl stop firewalld [root@guilin ~]# systemctl disa...
GlusterFS概述 GlusterFS (Gluster File System) 是一个开源的分布式文件系统,主要由 Z RESEARCH 公司负责开发。GlusterFS 是 Scale-Out 存储解决方案 Gluster 的核心...
今天采用ceph做k8s的存储类的时候,pod起不来,发现报错 rbd: map failed: (2) No such file or directory,提示/lib/modules/3.10.0-957.5.1.el7.x86_64/...
最新评论
顶起来
好
好文章
集群节点宕机后无法开启组复制,原因:节点宕机重启后svc默认不添加未就绪的pod,1.24版本在无头svc下添加: annotations: service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" 1.24版本以上添加: 1.24版tolerate-unready-endpointsService 中的注解,改用Service.spec.publishNotReadyAddresses
在使用try_files的时候,能不能根据URI计算MD5访问文件啊,找了很久没找到相关的文章。
post { always { script{ if (currentBuild.currentResult == "ABORTED" || currentBuild.currentResult == "FAILURE" || currentBuild.currentResult == "UNSTABLE" ){ slackSend channel: "#机器人", message: "Build failure: ${env.JOB_NAME} -- No: ${env.BUILD_NUMBER}, please check detail in email!" } else { slackSend channel: "#机器人", message: "Build Success: ${env.JOB_NAME} -- Build No: ${env.BUILD_NUMBER}, please check on http://www.yourwebsite.com" } } } }