docker

A 29-post collection
2 年前

解决k8s证书过期问题

k8s   docker  

出现证书过期提示 certificate has expired or is not yet valid 查看k8s版本旧版本命令会有差异,可根据提示进行操作 [root@k8s-master-001 ~]# kubeadm version kubeadm version: &version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9…

2 年前

Kubernetes上手动安装KubeSphere v3.2.1

k8s   docker   kubesphere  

安装Docker sudo yum remove docker* sudo yum install -y yum-utils #配置docker的yum地址 sudo yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # 安装依赖 yum ins…

3 年前

k8s 存储使用Ceph

docker  

在 1.4 以后,kubernetes 提供了一种更加方便的动态创建 PV 的方式;也就是说使用 StoragaClass 时无需预先创建固定大小的 PV,等待使用者创建 PVC 来使用;而是直接创建 PVC 即可分配使用。也无需到各Node节点上执行rbd map 镜像。 StoragaClass 方式 k8s安装 ceph-common(安装k8s提前安装好此插件) yum -y ins…

3 年前

ceph 基础概念和集群部署

docker  

Ceph 简介 Ceph是一个可无限伸缩的开源分布式存储系统,设计初衷是提供较好的性能、可靠性和可扩展性,它基于RADOS实现。在经过了数年的发展之后,目前已得到众多云计算厂商的支持并被广泛应用,RedHat及OpenStack都可与Ceph整合以支持虚拟机镜像的后端存储。 Ceph特点 高性能 摒弃了传统的集中式存储元数据寻址的方案,采用 CRUSH 算法,数据分布均衡,并行度高。 考虑了容…

3 年前

kubesphere 配置邮件报错问题

k8s   docker  

使用25端口 msg="Error on notify" err="*smtp.plainAuth failed: unencrypted connection" 使用465端口,开启ssl认证 smtp.*****.com:465 fail to send mail alert due to 'does not advertise the STARTTLS extension 使用58…