What did I just think?

My journey to Kubernetes - Part 1 of N

I've run standalone apps as services in Linux for many years, but decided to try a VM/containerised approach instead. Partly to try to learn more about the technology but also to try to make the apps I was running more independent of each other.

I ran Proxmox for a couple of years which was a fairly easy start, but also not free. All of my apps are for personal, community and charities so avoiding costs is good if I can achieve it. So I moved on to Docker and very soon after Docker Swarm. I learned a lot more by having to do more myself using self-selected tools, but I eventually got a three node cluster working pretty well. Docker Swarm lasted about 3 years.

Earlier this year and lacking a challenge I thought "I hear a lot about Kubernetes, I should try that". This was a much bigger challenge than Proxmox or Docker Swarm, but I like to get knee deep (neck deep?) in technology, so I set about migrating from Docker Swarm to Kubernetes.

I didn't document the early stages or migration and setup, but from the beginning of July I made some notes...

Wednesday 1 July: A new home for the cluster config

I started a Git repository for the K8s cluster and added the first applications: IT Tools and phpMyAdmin.

Thursday 2 July: Database proxy

I deployed ProxySQL in K8s as a front door to the Galera (MariaDB) database cluster.

Friday 3 July: Proxy adjustments

More configuration work on ProxySQL and phpMyAdmin.

Saturday 4 July: Bookmarks

I added bookmarking and web link applications, with Linkding taking a few attempts to get right.

Sunday 5 July: Weather-Watch moves in

I added a deployment for Weather-Watch and cleared out an old Linkding setup.

Thursday 9 July: Websites into the cluster

I added deployments for several WordPress sites and a test web server.

Monday 13 July: Dashboards

I added a weather data dashboard website and its companion update service.

Sunday 19 July: Maps and groceries

I added deployments for my weather station maps site and Grocy, the household stock manager.

Wednesday 19 August: Radio logbook

I added Wavelog, my amateur radio logbook, to the cluster.

Thursday 20 August: Logbook fixes

Small fixes to get the Wavelog service configured correctly.

More updates to follow.

· IT Stuff, General

The highest washing line I’ve seen has an amazing view. We’re staying in the 24th floor but you have access to the roof (33rd floor) to hang your washing and enjoy the views at the same time.

This is a new experience. Breakfast at the Opera. Cantonese opera to be precise. The opera starts in 30 minutes so we’re busy eating now.

I’ve just lost my durian virginity 🤣 I’d always been to scared to try before.

Opening the box unleashed the smell. I was given a glove to wear and then it was the point of no return!

After all that it’s OK. A bit mushy and quite sweet. Luckily you don’t notice the smell when eating it.

Cool looking Transformer in a Chinese shopping mall.

Waiting at the traffic lights and look what pulls up next to us.

It’s a parcel delivery vehicle. I’ve seen them driving around but never been next to one on its journey.

This chonky boy with a short tail is Chinese. The Chinese word for cat is māo which I’m told it’s pronounced like meow.

I’ve had a very different start to the day. We came to the city hospital for a TCM massage and cupping treatment.

The hospital media team heard about it and came to photograph my cupping and then video interviewed me asking how I felt about TCM.

I’m famous now!

Celebrating my birthday Chinese style. It was actually a double party - my great-niece Muchen is 16 today.

And two bottles of Maotai bought from the factory as one of my presents!

Another evening another banquet. Not sure what kind of fish it is or how they made it look like this but it’s sweet and sour and very nice. As usual plenty of maotai for toasting!

Matcha tea - Chinese style. You add, rice crispies, peanuts, floaty balls (don’t known what they are), chopped chives and sugar/salt if you prefer.

I’ve seen unmanned package delivery vehicles twice now. Once on a busy rural road and once parked outside our apartment complex. So they are happy travelling fairly fast (50km/h?) and navigating through busy city streets.

It’s weird seeing a box on wheels driving round!

Who needs a new laptop when your car has a built-in 15.6" touch screen?

Chinese BYD car. Don’t know the model because it’s in Chinese characters. It looks like at least some UK BYD models have a similar display.

I didn’t have time to see if it would boot Linux from a memory stick 🤣

I didn’t have wild swimming in a Chinese river on today’s bingo card. Luckily tropical rivers are pretty warm so it was a nice break from the incessant humid heat at this time of the year.

The views were much better but I didn’t have a waterproof case to take my phone near the river.

Anyone else got traffic light timers?

I’ve discovered that Chinese sat nav knows when traffic lights are going to change. The image shows that the light ahead will change to green in 39 seconds.

Route planning can take this into account to plot the fastest route in a city.

A navigation screen shows a car traveling at 46 km/h, with directions to turn right in 2.4 km onto Weilin Avenue and an estimated arrival time of 17:27 after covering 4.4 km in 13 minutes.

Welcome to the modern world!

I’ve heard people talk about matcha recently, but never had it. Then we had “Chinese coffee” which I’ve had numerous times on previous visits to China in the last 10 years.

Today I discovered that Chinese coffee is really matcha! The base is green tea powder

Where did the Teletubbies go?

After their rise to infamy 20+ years ago I didn’t see much of the Teletubbies. Or maybe my kids outgrew them and we didn’t watch those channels any longer?

Anyway, I found them again - they moved to China!

East meets West

Lays Pringles (at least that’s what I’d call them in the UK). Chinese flavour of Beef Pie but seemingly endorsed by Sir David Beckham.

Yesterday we had Lionel Messi Garlic Bread flavour.

English is the official second language in China. Which mean many products get English names. I often wonder if I could become a naming consultant over here to help them pick better names.

Today I present to you “Fly Young” tissues.

Breakfast - Chinese style!

↑