I’m running Kibana and Elasticsearch using ECK Operator on an air gapped K8s cluster which also uses Cilium to configure network policies.
In the Hubble UI provided by Cilium I can see that requests from Elasticsearch and Kibana to 169.254.169.254, which seems to be an instance metadata service from cloud providers, are dropped. To keep my Cilium logs clean I want to disable the features which are responsible to send these requests.
To disable this for Elasticsearch I set the environment variable AWS_EC2_METADATA_DISABLED to true and the requests stopped.
For Kibana I tried a lot of things but don’t get these request stopping.
I tried following for Kibana:
- Setting environment variable
AWS_EC2_METADATA_DISABLEDtotrue - Setting Kibana config parameter
telemetry.optIntofalse - Setting Kibana config parameter
xpack.fleet.isAirGappedtotrue - Setting Kibana config parameter
newsfeed.enabledtofalse - Setting Kibana config parameter
map.includeElasticMapsServicetofalse - Setting Kibana config parameter
xpack.product_intercept.enabledtotrue