记录k8s安装es出现的报错

1:

这个问题显示nfs目录不存在或权限不足

但是我查看了确实是有这个目录的而且权限也是够的,最后给目录加了一个777的权限

切记:配置完/etc/exports文件要 exportfs -arv一下

之后重启nfs-server

在客户端先 shoumount -e nfs服务ip查看一下有没有共享的目录

之后重新apply

2

Warning FailedScheduling 9s default-scheduler 0/3 nodes are available: persistentvolumeclaim "data-es-cluster-0" bound to non-existent persistentvolume "pvc-c71ec8b8-b371-4c50-b8f6-877281aa91c7". preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod..

这个问题说明 PersistentVolumeClaim (PVC) 被绑定到了一个不存在的 PersistentVolume (PV)。kubectl get pvc -A

确实显示lost状态

那就直接给删了

kubectl delete pvc data-es-cluster-0 --namespace=kube-logging

之后重新apply es的yaml文件

es的yaml文件资源类型是statefulset有卷模板

相关推荐
用户120487221611 小时前
Linux驱动编译与加载
linux·嵌入式
用户805533698038 小时前
Input 子系统架构:Core、Handler、Driver 三层是怎么协作的
linux·嵌入式
用户805533698038 小时前
RK-Forge外设系列开篇 - 把板子从「能启动」变成「能用」:Ethernet/SPI/MMC 三个纯接线外设
linux·github·嵌入式
七歌杜金房20 小时前
我终于又有了自己的 Linux 电脑
linux·debian·mac
tntxia2 天前
linux curl命令详解_curl详解
linux
扛枪的书生2 天前
Linux 网络管理器用法速查
linux
顺风尿一寸2 天前
Java Socket 内核之旅:从 SocketChannel.read() 到 tcp_recvmsg 与 epoll 的完整调用链路
linux
lichenyang4532 天前
Docker 学习笔记(四):Dockerfile,把项目打成自己的镜像
docker·容器
lichenyang4532 天前
Docker 学习笔记(三):Docker 网络、bridge、子网和容器互通
docker·容器
lichenyang4532 天前
Docker 学习笔记(二):docker run 的参数到底在控制什么?
docker·容器