helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

StorageClass issue

Open aboeglin opened this issue 6 years ago • 6 comments

According to comments in this post : https://akomljen.com/get-kubernetes-logs-with-efk-stack-in-5-minutes/, it seems a lot of people struggle to get it running.

k get pods -n logging                                      
NAME                                                 READY   STATUS    RESTARTS   AGE
efk-kibana-fc4bbccb7-ppc9x                           0/1     Running   0          14m
es-client-efk-cluster-857fd4c567-ngfwn               0/1     Running   3          13m
es-data-efk-cluster-default-0                        0/1     Pending   0          13m
es-master-efk-cluster-default-0                      0/1     Running   0          13m
es-operator-elasticsearch-operator-fbbd9556c-wv8jn   1/1     Running   1          19m
fluent-bit-b65vt                                     1/1     Running   0          14m
fluent-bit-rx2gk                                     1/1     Running   0          14m

I'm currently in such a state as well. I installed the chart through terraform helm provider. Installation went fine, but it doesn't run as the volumes couldn't be created. Would it be possible to expose a storage class or an option in the values file ? And document that so it would work with other IaaS than aws ?

aboeglin avatar Jan 03 '19 10:01 aboeglin

Makes sense, I will work on that probably over the weekend. Thanks for opening the issue!

komljen avatar Jan 03 '19 22:01 komljen

Hello, today I installed efk-stack from your tutorial "Get Kubernetes Logs with EFK Stack in 5 Minutes". But not everything started. Persistent Volume Claims are not created. Because classStorage is most likely missing. How to fix? I would be grateful for the answer.

image

image

image

JWebDev avatar Feb 06 '19 18:02 JWebDev

Yeah, a storage class is probably missing, but it is required. In which env did you run the k8s and do you have access to some distributed storage?

komljen avatar Feb 07 '19 16:02 komljen

This is most likely my problem. My cluster works on bare metal. I have a master and three nodes.

Now I try to create nfs-server. But so far not very successful.

Tell me please, is it possible to somehow install efk-stack without network file storage? Does the default installation take default storageClass? On the cluster must be present dynamic provisioning? Is it possible to somehow configure this all to install efk-stack by specifying the folder for storing elasticsearch and that's it?

Thanks for answers.

JWebDev avatar Feb 09 '19 11:02 JWebDev

Everything works. Thanks. I had a problem with the NFS server. Tell me please, is this version of kibana with x-packs? How to install them?

JWebDev avatar Feb 10 '19 11:02 JWebDev

This is kibana-oss image without x-pack. But, you could set an image with x-pack here https://github.com/komljen/helm-charts/blob/master/efk/values.yaml#L6 to docker.elastic.co/kibana/kibana.

komljen avatar Feb 10 '19 16:02 komljen