In this article we look at Istio’s load balancing features plus the Kiali and Grafana add ons.
We will be using WSL2 Ubuntu 20.04, in Windows 10, Docker Desktop with Kubernetes and K9s.
Assuming you already have WSL2 and Ubuntu 20.04 installed.
Start Docker desktop (see link below for how to install).
Docker engine is v20.10.6, enable Kubernetes. Takes a while to start.
X from where you are would you believe
Logic the facts and nature say thus
Are you so angry when I so insist
I can only from another X exist
Y or Y are you too the stubborn same
How dare you switch in all my cells
Do they say you are slowly fading?
Man to man keeps on evading
Who was first Eve or Adam to even care
Chance is certain the ratio is one to one
Nurture looks and shies away
Creation my feelings has nothing to say
The thread the grain of mitos of chondrion
Energy for you…
In the night the bats do fly
They need no eyes to see
All around is all but sound
Morning comes the day does break
See them hanging on the tree
Heads all bowed to the ground
In the night the owl hoots
Echoes chill the silent woods
Wisely hear as it speaks
In the night the rats might hide
From yellow eyes burning bright
Those talons sharp that it seeks
In the night the blind can’t see
The road the path the narrow way
The darkness covers and all it hides
In the night a light does shine
Ages ago, someplace far, a different world and different sense. We would play marbles in the dust. Make some hole and with hand and finger try and hit the opponents one. One hand, two, fire.
An African sun and dry earth was made for children to play and run. Those marbles were everything, to possess one a sense of worth, even the cracked one, the one that is hardly round, would be worth owning a treasured trophy of a victory of an ability.
There were those not given to reading, who nevertheless had other gifts enviable traits, so one like…
The lights were bright looking up
You will feel a slow icy tingling
Up your arm and around your neck
I was awake just enough to say OK
Didn’t have time to say thank you good bye
I was gone gone gone
Next second, minute, hour in another place
The work was done the deed the need
I awoke the room had changed
O Anesthesia, how beautiful you are
I had no pain, when cut or wounded
No sound, no sight, no thought, no feeling
Time stood still, your hours passed
In a twinkling of an eye
No memory no…
Beauty I see
Sets apart ugliness
Soft gentle fragile
Fragrant vibrant alive
The petals numbered
A golden divide
Singing songs few may hear
Light to life
Splitting water ruach breath
No wonder then buzzing bees
The scent the sight
Nectar sweet cannot resist
Wiremock http://wiremock.org/, is a great tool to mock out real REST service dependencies to improve your integration testing without needing the full interdependent system in place.
In this specific example we look at how to very easily mock a REST call returning a PDF file using the execute method of the Spring Rest Template and basic wiremock constructs.
The code will be written using spring boot and gradle.
id 'org.springframework.boot' version '2.3.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
sourceCompatibility = '1.8'