Kuma Meshes Part I - The basics. Explaining the basics of how Meshes and Kuma Meshes work. It goes through how to get a cluster ready to start making tests with Kuma by diving into kubernetes concepts and quick installation command installations.
How to Troubleshoot Apps for the Modern Connected Worker
Kuma Meshes Part I - The basics - A tutorial
1. How it works, what we can monitor with it and why is it
different
By João Esperancinha (2024/03/31)
2. Who am I?
Overview
Understanding the problems
Project objective
Target audience
Market trends
Cycle diagram
João Esperancinha
● Java
● Kotlin
● Groovy
● Scala
● Software Engineer 10+ years
● JESPROTECH owner for 1 year
● Kong Champion
● Java Professional
● Spring Professional
4. Intro - What is Kuma?
Kuma is a platform agnostic
open-source control plane for
service mesh and microservices
management, with support for
Kubernetes, VM, and bare metal
environments.
https://kuma.io/docs/2.6.x/introduction/overview-of-kuma/
6. Chapter I - Summary
Before even beginning exploring Kuma we need a
complete cluster and a functional application system
01 | Our application
02 | Installing all commands
03 | Creating a Cluster
04 | Creating a local docker registry
05 | Going through the code
06 | Making the deploy scripts
07 | Running the Demo application
11. What do we need in general
1
A cluster to get our pods running.
This will be achieved with kind.
(kubernetes in docker)
3
A way to manage and configure our pods.
This will be achieved with kubectl
2
A local registry that we can access inside
our deployment environment.
This will be achieved with kind
4
A command to allow Kuma to install the
environment and inject the sidecars.
This will be achieved with kumactl.
Chapter I - Our Application
19. Chapter I - Our Application
spring.r2dbc.url=r2dbc:postgresql://wlsm-database-deployment.wlsm-namespace.svc.cluster.local:5432/wlsm
Going through the code
wslm.url.collector=http://wlsm-collector-deployment.wlsm-namespace.svc.cluster.local:8081/api/v1/collector
Listener Service
Collector Service
30. ● Source Repository
○ https://github.com/jesperancinha/wild-life-safety-monitor
Use git clone from the command prompt to download the full code base:
> git clone https://github.com/jesperancinha/wild-life-safety-monitor.git
You’ll be prompted for a username and password which should be your github account.
The easy way:
> make b
> make run
The manual way:
> gradle build
> ./gradlew run
Project Location