I'm trying to get a 'near' vanilla deployment of elasticsearch up and running on ECK which I've based off the quick start instructions here
I initially tried a 3 member cluster and saw a lot of connection failed errors, so to narrow the problem scope I dropped it to a 1 member cluster and now I'm seeing this a lot in the logs:
...message": "security index is unavailable. short circuiting retrieval of user [elastic]... ...message": "Authentication to realm file1 failed - Password authentication failed for elastic...
authentication setup seems to have failed in some manner but I don't know much about elasticsearch authentication mechanisms or how ECK is setting it up. Any help is appreciated.
I'm deploying ECK onto kubernetes 1.18.6 (rancher) and here is my yaml:
apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: es1 namespace: logging spec: version: 7.8.1 nodeSets: - name: cluster1 count: 1 config: node.master: true node.data: true node.ingest: true podTemplate: spec: nodeSelector: hostpath: ssd containers: - name: elasticsearch env: - name: ES_JAVA_OPTS value: -Xms8g -Xmx8g resources: requests: memory: 16Gi cpu: 1 limits: memory: 16Gi cpu: 3 volumeClaimTemplates: - metadata: name: elasticsearch-data spec: accessModes: - ReadWriteOnce resources: requests: storage: 100Gi storageClassName: openebs-hostpath