The scripts to prepare the YAML to deploy elasticsearch and kibana depend on a parameters to be set. Ensure the following are set in `params.yaml':
# the DNS CN to be used for elasticsearch service
shared-services-cluster.elasticsearch-fqdn: elasticsearch.dorn.tkg-aws-e2-lab.winterfell.live
# the DNS CN to be used for kibana service
shared-services-cluster.kibana-fqdn: logs.dorn.tkg-aws-e2-lab.winterfell.live
Prepare the YAML manifests for the related elasticsearch and kibana K8S objects. Manifests will be output into generated/$SHARED_SERVICES_CLUSTER_NAME/elasticsearch-kibana/
in case you want to inspect.
./scripts/generate-and-apply-elasticsearch-kibana-yaml.sh
Get an response back from elasticsearch rest interface
curl -v http://$(yq r $PARAMS_YAML shared-services-cluster.elasticsearch-fqdn)