Seite 1 von 1

deploy elk stack in kubernetes with helm VolumeBinding error

BeitragVerfasst: Di 10. Nov 2020, 14:59
von prabakarreddy
I'm trying to deploy [url]elk stack[/url] in kubernetes cluster with helm, using this chart. When I launch

helm install elk-stack stable/elastic-stack

I receive the following message:

NAME: elk-stack
LAST DEPLOYED: Mon Aug 24 07:30:31 2020
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
The elasticsearch cluster and associated extras have been installed.
Kibana can be accessed:

* Within your cluster, at the following DNS name at port 9200:

elk-stack-elastic-stack.default.svc.cluster.local

* From outside the cluster, run these commands in the same shell:

export POD_NAME=$(kubectl get pods --namespace default -l "app=elastic-stack,release=elk-stack" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:5601 to use Kibana"
kubectl port-forward --namespace default $POD_NAME 5601:5601
But when I run

kubectl get pods
the result is:

NAME READY STATUS RESTARTS AGE
elk-stack-elasticsearch-client-7fcfc7b858-5f7fw 0/1 Running 0 12m
elk-stack-elasticsearch-client-7fcfc7b858-zdkwd 0/1 Running 1 12m
elk-stack-elasticsearch-data-0 0/1 Pending 0 12m
elk-stack-elasticsearch-master-0 0/1 Pending 0 12m
elk-stack-kibana-cb7d9ccbf-msw95 1/1 Running 0 12m
elk-stack-logstash-0 0/1 Pending 0 12m
Using kubectl describe pods command, I see that for elasticsearch pods the problem is: