Deploying the EFK stack on Kubernetes
Deploying the EFK stack on Kubernetes will be done in the same way as we have deployed our own microservices: using Kubernetes manifest files for objects such as Deployments, Services, and ConfigMaps.
The deployment of the EFK stack is divided into three parts:
- Deploying Elasticsearch and Kibana
- Deploying Fluentd
- Setting up access to Elasticsearch and Kibana
But first, we need to build and deploy our own microservices.
Building and deploying our microservices
Building, deploying, and verifying the deployment using the test-em-all.bash
test script is done in the same way as it was done in Chapter 18, Using a Service Mesh to Improve Observability and Management, in the Running commands to create the service mesh section. These instructions assume that the cert-manager and Istio are installed as instructed in Chapters 17 and 18.
Run the following commands to get started:
- First, build the...