- Notifications
You must be signed in to change notification settings - Fork7
cbezmen/elk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Docker compose for fast build. docker-compose command required for this build.
$ ./build.sh start-d9
This command startdocker-compose.yaml
file. This will run sample-app and elk projects.
You can check Kibana UI fromhttp://localhost:5601/app/kibana
$ watch docker ps
With this command, you can easily watch all containers created.
$ ./build.sh stop-d9
This command stop docker-compose file and removecontainers
.
I used docker desktop kubernetes
For elastic search you have to increase memory, from configuration CPU: 6 Memory: 6GB is enough
$ ./build.sh build-k8
This command build and dockerized all projects under minikube environment.
Warning: There is no support for relative path in kubernetes. Please change �
hostPath
field inlogstash.yml
andkibana.yml
!!!
$ ./build.sh start-k8
This command runkubectl create -f .
command under kubernetes folder. This will create services and deployments of sample-app and elk projects.
You can check Kibana UI from inhttp://localhost:5601/
$ watch kubectl get all
With this command, you can easily watch all deployments, service, pods, persistent volume and claim.
$ ./build.sh stop-k8
This command stop allservices
anddeployments
created.
Cli | Version |
---|---|
docker | 20.10.5 |
docker desktop kubernetes | v1.19.7 |
mvn | 3.8.1 |
About
Spring boot ELK sample app