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.


Photo by National Cancer Institute on Unsplash

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…


Photo by Noah Silliman on Unsplash

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
Breaking dawn…


Photo by Crissy Jarvis on Unsplash

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…


Photo by Carolina Pimenta on Unsplash

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…


POETRY

S. Ramjee

Beauty I see
Sets apart ugliness

Soft gentle fragile
Fragrant vibrant alive

The petals numbered
A golden divide
Singing songs few may hear

Silently powered
Light to life
Splitting water ruach breath

No wonder then buzzing bees
The scent the sight
Nectar sweet cannot resist


PROGRAMMING

Wiremocking a PDF file can be tricky, here we see how to do so easily with Springs Test Rest Template

Photo by Yancy Min on Unsplash

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.

Code

The code will be written using spring boot and gradle.

plugins {
id 'application'
id 'org.springframework.boot' version '2.3.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
}

mainClassName="org.example.wiremock.PDFClient"

group 'org.example'
version '1.0-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {
mavenCentral()
}

dependencies {…

Lightphos

AGCT to IO

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store