试着安装弹性堆栈
嗨,我通过gitlab自托管的ee.13.2.2连接到一个集群。
我使用的是gitlab,我安装了入口,prometheus,cert管理器和转轮,但是当我试图安装弹性堆栈时,它不会安装。有人知道我在哪里可以找到正确的日志来找出为什么它不会安装吗?
错误说:
安装弹性堆栈时出了问题
Operation failed. Check pod logs for install-elastic-stack for more details.+ export 'HELM_HOST=localhost:44134'
+ helm init --client-only
+ tiller -listen localhost:44134 -alsologtostderr
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
[main] 2020/08/15 19:22:35 Starting Tiller v2.16.9 (tls=false)
[main] 2020/08/15 19:22:35 GRPC listening on localhost:44134
[main] 2020/08/15 19:22:35 Probes listening on :44135
[main] 2020/08/15 19:22:35 Storage driver is ConfigMap
[main] 2020/08/15 19:22:35 Max history per release is 0
Adding local repo with URL: http://127.0.0.1:8879/charts
$HELM_HOME has been configured at /root/.helm.
Not installing Tiller due to 'client-only' flag having been set
+ helm repo add elastic-stack https://charts.gitlab.io
"elastic-stack" has been added to your repositories
+ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "elastic-stack" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
+ helm upgrade elastic-stack elastic-stack/elastic-stack --install --atomic --cleanup-on-fail --reset-values --version 3.0.0 --set 'rbac.create=true,rbac.enabled=true' --namespace gitlab-managed-apps -f /data/helm/elastic-stack/config/values.yaml
[tiller] 2020/08/15 19:22:44 getting history for release elastic-stack
[storage] 2020/08/15 19:22:44 getting release history for "elastic-stack"
Release "elastic-stack" does not exist. Installing it now.
[tiller] 2020/08/15 19:22:44 preparing install for elastic-stack
[storage] 2020/08/15 19:22:44 getting release history for "elastic-stack"
[tiller] 2020/08/15 19:22:44 rendering elastic-stack chart using values
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch/templates/podsecuritypolicy.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch-curator/templates/role.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch/templates/role.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch-curator/templates/rolebinding.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch-curator/templates/hooks/job.install.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch/templates/rolebinding.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch/templates/ingress.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch-curator/templates/psp.yml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch/templates/configmap.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch/templates/serviceaccount.yaml" is empty. Skipping.
2020/08/15 19:22:44 info: manifest "elastic-stack/charts/elasticsearch-curator/templates/serviceaccount.yaml" is empty. Skipping.
[tiller] 2020/08/15 19:22:44 performing install for elastic-stack
[tiller] 2020/08/15 19:22:44 executing 1 crd-install hooks for elastic-stack
[tiller] 2020/08/15 19:22:44 hooks complete for crd-install elastic-stack
[tiller] 2020/08/15 19:22:45 executing 1 pre-install hooks for elastic-stack
[tiller] 2020/08/15 19:22:45 hooks complete for pre-install elastic-stack
[storage] 2020/08/15 19:22:45 getting release history for "elastic-stack"
[storage] 2020/08/15 19:22:45 creating release "elastic-stack.v1"
[kube] 2020/08/15 19:22:45 building resources from manifest
[kube] 2020/08/15 19:22:45 creating 11 resource(s)
[kube] 2020/08/15 19:22:46 beginning wait for 11 resources with timeout of 5m0s
[kube] 2020/08/15 19:22:48 Pod is not ready: gitlab-managed-apps/elastic-stack-filebeat-h544s <= this line ran lots of times (100ish)
[tiller] 2020/08/15 19:27:46 warning: Release "elastic-stack" failed: timed out waiting for the condition
[storage] 2020/08/15 19:27:46 updating release "elastic-stack.v1"
[tiller] 2020/08/15 19:27:46 failed install perform step: release elastic-stack failed: timed out waiting for the condition
INSTALL FAILED
PURGING CHART
then eventually:
Successfully purged a chart!
Error: release elastic-stack failed: timed out waiting for the condition发布于 2020-08-18 00:30:11
请再试一次。舵手有时会很快超时。如果它持续失败,请查看弹性堆栈命名空间。看看哪些吊舱没有在里面启动,以及你在那里遇到了什么错误。
https://stackoverflow.com/questions/63457571
复制相似问题