记录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有卷模板

相关推荐
未济3 天前
linux 配置环境变量
linux
傲世仙尊3 天前
目录即文件-Ext文件系统收尾篇
linux·c语言
虎头金猫3 天前
4K 视频总卡在公网带宽?用 N1 + OpenList 把网盘播放链路重新理顺
运维·服务器·网络·python·容器·beautifulsoup·pandas
_艾伦 耶格尔.3 天前
进程间通信
linux
Liuqy-053 天前
Linux IO编程——静态库、动态库
linux
彧azz3 天前
Linux 环境下 Redis 学习总结:数据类型、持久化、锁、事务、主从与缓存问题
linux·redis·笔记·学习·面试
-梅3 天前
linux(8) 软硬链接
linux·运维·服务器
赵文宇(温玉)3 天前
CoreDNS的hosts插件的缺行配置导致k8s集群异常
容器·kubernetes·rancher
guo_wen_qiang3 天前
上传本地镜像到harbor中
docker·容器·持续部署
AIgorithmGEEK3 天前
[Linux]线程三部曲(上):一个执行流的诞生——从操作系统一路拆到 pthread_create
linux·线程·pid