# Unable to associate to elasticsearch on kibana

**URL:** https://discuss.elastic.co/t/unable-to-associate-to-elasticsearch-on-kibana/288050
**Category:** Elastic Cloud on Kubernetes (ECK)
**Created:** [October 30, 2021, 5:34am UTC](https://discuss.elastic.co/t/unable-to-associate-to-elasticsearch-on-kibana/288050 "2021-10-30T05:34:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![KypMon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kypmon/32/96254_2.png) [@KypMon](https://discuss.elastic.co/u/KypMon)
#### Post date: [October 30, 2021, 5:34am UTC](https://discuss.elastic.co/t/unable-to-associate-to-elasticsearch-on-kibana/288050/1 "2021-10-30T05:34:24Z")

</div>

basically just following this code sample:

```auto
# Install OLM (Operator Lifecycle Management)
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/olm.yaml
kubectl get olm -A

# Install ECK/Elasticsearch Operator
kubectl apply -f https://download.elastic.co/downloads/eck/1.2.1/all-in-one.yaml

# Create a namespace for logging
kubectl create ns logging

# Install Elasticsearch cluster
cat <<EOF | kubectl apply -n logging -f -
apiVersion: elasticsearch.k8s.elastic.co/v1beta1
kind: Elasticsearch
metadata:
  name: quickstart
spec:
  version: 7.5.0
  nodeSets:
  - name: default
    count: 1
    config:
      node.master: true
      node.data: true
      node.ingest: true
      node.store.allow_mmap: false
EOF

# Install Kibana 
cat <<EOF | kubectl apply -n logging -f -
apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
  name: quickstart
spec:
  version: 7.5.0
  count: 1
  elasticsearchRef:
    name: quickstart
EOF

# Install Logging/Fluentd & Fluent Bit Operator inside logging namespace
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
helm install --namespace logging logging banzaicloud-stable/logging-operator --set createCustomResource=false

# Install demo app
helm install --namespace logging logging-demo banzaicloud-stable/logging-demo --set "elasticsearch.enabled=True"

# Get the password for Kibana (default user is 'elastic')'
kubectl get secret quickstart-es-elastic-user -n logging -o=jsonpath='{.data.elastic}' | base64 --decode; echo

# Access Kibana dashboard
kubectl port-forward -n logging svc/quickstart-kb-http 5601

```

**What did you expect to see?**  
a live kibana dashboard

**What did you see instead? Under which circumstances?**  
kibana failing to start

**Environment**

- ECK version:

1.2.1

- Kubernetes information:

AKS v1.18.19

```auto
$ kubectl version

```

v1.21.3

- Logs:

```auto
kubectl describe kibana quickstart -n logging
  Warning AssociationError 28m (x4 over 28m) kibana-controller Association backend for elasticsearch is not configured

```

from inside of the cluster, es is working properly

```auto
root@doks-debug:~# curl -u "elastic:XXXXXXX" -k "https://quickstart-es-http.logging:9200"
{
   ...,
  "tagline" : "You Know, for Search"
}

```

---

<div class="post-metadata">

### Author: ![Michael\_Montgomery](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_montgomery/32/82242_2.png) [@Michael\_Montgomery](https://discuss.elastic.co/u/Michael_Montgomery)
#### Post date: [November 8, 2021, 3:36pm UTC](https://discuss.elastic.co/t/unable-to-associate-to-elasticsearch-on-kibana/288050/2 "2021-11-08T15:36:42Z")

</div>

There are a couple of things I'm noting:

1. You seem to be installing the operator lifecycle manager, but not using it to install ECK. I'd likely recommend when just trying out the operator to just ignore OLM for now, and Install via this guide: [Deploy ECK in your Kubernetes cluster | Elastic Cloud on Kubernetes [master] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-deploy-eck.html)
2. You're installing an old version of ECK. Version 1.2.1 [Release 1.2.1 · elastic/cloud-on-k8s · GitHub](https://github.com/elastic/cloud-on-k8s/releases/tag/1.2.1) was released August of last year, and 1.8.0 is the current version: [Release Elastic Cloud On Kubernetes 1.8.0 · elastic/cloud-on-k8s · GitHub](https://github.com/elastic/cloud-on-k8s/releases/tag/1.8.0). The above install guide I referenced will install 1.8.0 by default.

Would you mind starting over, and installing from the referenced install guide, and see if you encounter the same issue?

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 6, 2021, 3:37pm UTC](https://discuss.elastic.co/t/unable-to-associate-to-elasticsearch-on-kibana/288050/3 "2021-12-06T15:37:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
