We use the eck operator docker.elastic.co/eck/eck-operator:1.0.0-beta1 to deploy the ES cluster in kubernetes. Now we are trying to use the open distro for Elasticsearch docker image to create the ES cluster but operators not able to create the POD, pod creation fails as Init container elastic-internal-init-filesystem fails to start. It fails with the error “unsupported_distribution”. When we tried to find out about this error message, we found in one of the eck script i.e, prepare_fs_script.go we found this error message. Below is the code snippet from that file.
By looking at the comment, it says works with default ES distribution only. so will it not able create the pod if we use open distro image ?
//the operator only works with the default ES distribution
if [[ ! -f license || (grep -Fxc "ELASTIC LICENSE AGREEMENT" $license) -ne 1 ]]; then
>&2 echo "unsupported_distribution"
+ fmt.Sprintf("%d", UnsupportedDistroExitCode) +