Replies: 1 comment
-
|
I am pretty sure this image will never work with ECK, because the The script in container: But I was unable to use a custom
I was unable to get that to work. But as is I dont think this image will ever work with ECK, which is one of the primary deployment strategies where a hardened image would be useful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone successfully used the elasticsearch docker hardened image with Elastic Cloud on Kubernetes (ECK)? I first ran into an issue where the elasticsearch pod would not start because:
container has runAsNonRoot and image has non-numeric user (elasticsearch), cannot verify user is non-root. I addressed this by setting thesecurityContext:This leads the container to start with status of
RUNNING, butREADYis0/1andkubectl describeshows this:But the logs look fine, no errors, few warnings related to "Not entitled: component". The ECK operator logs show a
Reconciler errorwith the message:elasticsearch client failed for http://elastic-es-default-0.elastic-es-default.serve:9200/_security/api_key?active_only=true&name=eck-*: Get \"http://elastic-es-default-0.elastic-es-default.serve:9200/_security/api_key?active_only=true&name=eck-*\": dial tcp 192.168.194.25:9200: connect: connection refusedCan anyone help me figure this out?
Beta Was this translation helpful? Give feedback.
All reactions