【发布时间】:2023-04-11 09:36:01
【问题描述】:
这是一个常见问题,似乎仍未解决:
ElasticsearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/elasticsearch/data/nodes];
Likely root cause: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes
我正在尝试在 RKE 设置的集群上运行它。我开始以 outofabox 的方式使用它,意味着仅将其用作依赖项:
dependencies:
- name: elasticsearch
version: 7.6.2
repository: https://helm.elastic.co
它马上就失败了。
我知道并关注了相应的 github 问题,例如:
https://github.com/elastic/helm-charts/issues/429
https://github.com/elastic/helm-charts/issues/137
https://github.com/elastic/helm-charts/issues/388
https://github.com/elastic/helm-charts/issues/258
我还尝试在 'initresources' 中手动对其进行 cmod-ing,我玩过 fsgroup,并且我还尝试使用 Rancher Local Path Provisioner(在 issue 429 中提到)。
根本没有成功,每次都会出现同样的异常。
有什么想法吗?
【问题讨论】:
标签: elasticsearch kubernetes kubernetes-helm