I am trying to get some plugins installed on my ECK cluster (v 1.1.0) using initContainers, e.g. -
initContainers:
- name: install-plugins
command:
- sh
- -c
- bin/elasticsearch-plugin install --verbose --batch repository-s3
I have Istio 1.4 installed on the cluster with the CNI plugin enabled, and it seems that Istio blocks initContainers from being able to establish a connection out of the cluster until the sidecar is running (which naturally, is after the initContainer should finish).
Does anyone have a workaround for this issue?
Hopefully this can be achieved without building additional containers, as this is a bit painful. Either way, this issue should be included in the documentation for ECK as there are other instructions suggesting that Istio-managed clusters are supported, but no mention that they will cause issues with the recommended plugin installation approach...