Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Spring boot ELK sample app

License

NotificationsYou must be signed in to change notification settings

cbezmen/elk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

Description

Docker compose for fast build. docker-compose command required for this build.

Start Docker Compose

$ ./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 Containers

$ watch docker ps

With this command, you can easily watch all containers created.

Stop Docker Compose

$ ./build.sh stop-d9

This command stop docker-compose file and removecontainers.

Kubernetes

Description

I used docker desktop kubernetes

For elastic search you have to increase memory, from configuration CPU: 6 Memory: 6GB is enough

Build Projects

$ ./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 !!!

Start Kubernetes

$ ./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 Kubernetes Environment

$ watch kubectl get all

With this command, you can easily watch all deployments, service, pods, persistent volume and claim.

Stop Kubernetes

$ ./build.sh stop-k8

This command stop allservices anddeployments created.

Knowledge & Requirements

Cli Versions

CliVersion
docker20.10.5
docker desktop kubernetesv1.19.7
mvn3.8.1

Deadline gif


[8]ページ先頭

©2009-2025 Movatter.jp