Comments (5)
Hi!
This sounds like it might be an issue with your Kubernetes cluster and the persistent storage. Have you been able to deploy other statefulsets or pvcs for other applications?
Could you show me the output of:
kubectl get events
kubectl get pv
kubectl get pvc
kubectl get storageclass
And could you also include your values.yaml you are using to deploy?
from helm-charts.
Hi!
This sounds like it might be an issue with your Kubernetes cluster and the persistent storage. Have you been able to deploy other statefulsets or pvcs for other applications?
No, I only have such problems with Elasticsearch. Other applications work and deploy without problems.
Could you show me the output of:
kubectl get events kubectl get pv kubectl get pvc kubectl get storageclass
root@master:~
> kubectl get events --all-namespaces
NAMESPACE LAST SEEN TYPE REASON KIND MESSAGE
efk 4m3s Warning Unhealthy Pod Readiness probe failed:
efk 2m4s Warning FailedMount Pod Unable to mount volumes for pod "elasticsearch-master-0_efk(a240e2f2-7347-11e9-bdfc-0050563dbb49)": timeout expired waiting for volumes to attach or mount for pod "efk"/"elasticsearch-master-0". list of unmounted volumes=[elasticsearch-master]. list of unattached volumes=[elasticsearch-master default-token-q8bks]
kube-system 28m Warning Unhealthy Pod Liveness probe failed: Get http://127.0.0.1:9099/liveness: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
root@master:~
> kubectl get pv --all-namespaces
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
data-nfs-server-provisioner-0 700Gi RWO Retain Bound nfs/data-nfs-server-provisioner-0 nfs 83d
jenkins-pv 100Gi RWO Retain Bound tools/jenkins-pvc 83d
jenkins-share-pv 100Gi RWO Retain Bound tools/jenkins-share-pvc 83d
mongo-pv 50Gi RWO Retain Bound tools/mongo-pvc mongo-storage 84d
mysql-pv 50Gi RWO Retain Bound tools/mysql-pvc mysql-storage 84d
nexus-pv 400Gi RWO Retain Bound tools/nexus-pvc nexus-storage 84d
pvc-a23fd9a2-7347-11e9-bdfc-0050563dbb49 600Gi RWO Delete Bound efk/elasticsearch-master-elasticsearch-master-0 nfs 7d12h
root@master:~
> kubectl get pvc --all-namespaces
NAMESPACE NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
efk elasticsearch-master-elasticsearch-master-0 Bound pvc-a23fd9a2-7347-11e9-bdfc-0050563dbb49 600Gi RWO nfs 7d12h
nfs data-nfs-server-provisioner-0 Bound data-nfs-server-provisioner-0 700Gi RWO 83d
tools jenkins-pvc Bound jenkins-pv 100Gi RWO 83d
tools jenkins-share-pvc Bound jenkins-share-pv 100Gi RWO 83d
tools mongo-pvc Bound mongo-pv 50Gi RWO mongo-storage 84d
tools mysql-pvc Bound mysql-pv 50Gi RWO mysql-storage 84d
tools nexus-pvc Bound nexus-pv 400Gi RWO nexus-storage 84d
root@master:~
> kubectl get storageclass --all-namespaces
NAME PROVISIONER AGE
local-storage kubernetes.io/no-provisioner 84d
mongo-storage kubernetes.io/no-provisioner 84d
mysql-storage kubernetes.io/no-provisioner 84d
nexus-storage kubernetes.io/no-provisioner 84d
nfs (default) cluster.local/nfs-server-provisioner 83d
root@master:~
And could you also include your values.yaml you are using to deploy?
No, I do not use any values.xml. Only helm command.
from helm-charts.
I just tested this by installing the stable helm chart for the nfs provisioner (helm install stable/nfs-server-provisioner
) and was able to get it working just fine. While we certainly don't recommend using NFS (for performance reasons) it should still be possible to get it working.
No, I only have such problems with Elasticsearch. Other applications work and deploy without problems.
The output of your commands show that you don't currently have any other applications provisioned with the NFS storage class. Could you try deploying another application using the NFS provisioner to be certain that it is working correctly?
Could I also have some more debugging information:
kubectl get statefulset elasticsearch-master -o yaml # replace with whatever your statefulset is called
kubectl describe statefulset elasticsearch-master
kubectl describe pod elasticsearch-master-0
# Logs from your NFS provisioner
kubectl logs donating-ocelot-nfs-server-provisioner-0
# To test if your node selector looks ok (nodeSelector.kubernetes\.io/hostname"=node3)
kubectl get nodes -o yaml
from helm-charts.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from helm-charts.
This issue has been automatically closed because it has not had recent activity since being marked as stale.
from helm-charts.
Related Issues (20)
- [Kibana] 8.5.1"message":"secrets \"kibana-kibana-es-token\" already exists" HOT 4
- Support file realm in the Elasticsearch spec
- readiness probe also always fails when security is disabled HOT 1
- Readiness probe is failing because of bad SSL HOT 1
- Kibana chart helm install failing with Error: INSTALLATION FAILED: failed pre-install: job failed: BackoffLimitExceeded HOT 5
- Logstash does not respect logstashJavaOpts
- Out of memory error both on
- Kibana chart fails when security disabled HOT 1
- Enabling security breaks ES endpoints.
- Kibana post delete can fail, leaving artifact behind. HOT 2
- Cannot enable Metricbeat modules HOT 1
- Elasticsearch 7.17.9 HOT 1
- [kibana] helm deployment with no values fails, kubeadm kubernetes deployment 1.25.3 HOT 1
- elasticsearch chart optimizes the discovery.seed_hosts Settings HOT 1
- How to add license on the helmchart
- Randomly receive list of indices with kubectl exec on single node installation.
- Kibana 8.5.1 Upgrade failed from 7.17.3- Error: UPGRADE FAILED: pre-upgrade hooks failed: timed out waiting for the condition
- UNABLE_TO_VERIFY_LEAF_SIGNATURE HOT 5
- [logstash] Statefulset annotations
- kibana cannot be installed, output self signed certificate in certificate chain HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.