↓ Skip to main content

Posts

2018

Hants XC

Hants XC

·1 min
The Hampshire Cross-Country Champs were back at Fairthorne Manor again this year. With some heavy rain over the preceding few days, it was a return to the conditions of two years ago: mud and more mud. It could have been worse though as the route of the course steadily evolved over the day as the tapes were adjusted to avoid some of the stickiest spots.

2017

Cornish Christmas

Cornish Christmas

·1 min
Christmas this year was spent down in Cornwall with Christine’s brother and family. We travelled down on the 24th, stopping off at my Uncle’s in Devon en-route. An early start (or maybe just luck) meant we had a painless journey and the sun really was out in force for the hour we spent on the front at Teignmouth. We weren’t so lucky with the weather on Christmas Eve as we headed over to St Agnes for a walk along the coast but the old mine workings provided some shelter from the squalls and the wind certainly blew away any cobwebs.
Run some Pubs

Run some Pubs

·1 min
Just to record the event for posterity, “Run the Pubs” did take place in 2017. As in the past few years, we deviated somewhat from the original format in that the pubs we visited on the run weren’t all those that we visited during our Tuesday night runs in the summer. This year, we even went to one pub that we hadn’t been to earlier in the year but it made a nice loop of around 15 miles. Unfortunately, the heavens opened towards the end of the run but it made warming ourselves by the fire at the New Forest Inn all the more pleasant!

Multi-Arch Docker Images

Things have been a little hectic recently and a whole month has slipped past without a blog post. The following is old news now but it’s still something that I wanted to call out. As of mid-September, all the official images on Docker Hub have been multi-arch enabled and many of them, including the websphere-liberty image, are now available for multiple platforms.
Balaton Biking

Balaton Biking

·3 mins
For the final instalment of our holiday we headed north again to the shores of Lake Balaton. At 77km long it is the largest lake in central Europe and the closest thing Hungary has to a sea. We were staying in Keszthely at the western end of the lake. Having checked in to our accommodation, we went for a leisurely walk along the waterfront. Between the outdoor fitness equipment and the playground full of wet-play equipment, we whiled away a good few hours before heading in to the centre of town in search of food.
Orfu Orienteering

Orfu Orienteering

·4 mins
The next leg of our Hungarian adventure took us to Orf?, a small tourist village, half an hour north of the city of Pécs (where we stopped briefly to stock up at Tescos!). Orf? sits beside a string of lakes on the edge of the Mecsek hills (the highest mountain in Hungary is only just over 1000m). We checked in to our shady apartment and then walked down to the village hall where registration for the Hungaria Cup was taking place. There was a bit of queue for the ‘foreign clubs’ and we didn’t help! We had underpaid and, to make the sums harder, I’d paid in Hungarian Forints but the transfer had arrived in Euros, and I wanted to pay the balance in Forints!
Boiling Budapest

Boiling Budapest

·2 mins
The Hungaria Cup came up when we were searching for possible Summer holiday orienteering and, neither of us having ever been to the country before, we decided to give it a try.Part of our decision process also included checking the average seasonal temperature: a very reasonable mid-20s °C. However, when we landed in Budapest there was a heatwave in force and the temperature was a hot but dry 39°C! The top-floor apartment we were staying in downtown Pest did have a standalone air-con unit but it simply couldn’t compete and the temperature inside didn’t drop below 30°C whilst we were there which made for some uncomfortable nights.

Optional Kubernetes resources and PodPresets

The sample for Microservice Builder is intended to run on top of the Microservice Builder fabric and also to utilize the ELK sample. As such, the Kubernetes configuration for the microservice pods all bind to a set of resources (secrets and config-maps) created by the Helm charts for the fabric and ELK sample. The slightly annoying thing is that the sample would work perfectly well without these (you just wouldn’t get any logging to the ELK stack) only, as we shall see in a moment, deployment fails if the fabric and ELK sample have not already been deployed. In this post we’ll explore a few possibilities as to how these resources could be made optional.
Private repositories on Docker Hub

Private repositories on Docker Hub

·2 mins
Sometimes Docker Hub really is just the quickest and easiest way to share an image from one place to another, particularly when the place I’m trying to share to is expecting to just do a docker pull. It’s not always the case that I want to share those images with the rest of the world though. Docker Hub’s answer to this is the private repository but, on a free plan, you only get one private repository. What you have to remember though is that a repository can contain multiple images: they all share the same name but each has a different tag.

Microservice Builder GA Update

As I posted here on the Microservice Builder beta, I thought it only fair that I should offer an update now that it is Generally Available. There is already the official announcement, various coverage in the press including ZDNet and ADT, a post from my new General Manager Denis Kennelly, and, indeed, my own post on the official blog, so I thought I’d focus on what has changed from a technical standpoint since the beta.
Emma Goes Ape

Emma Goes Ape

·1 min
Having passed the minimum age limit, Emma was keen to try out the adult Go Ape at Itchen Valley Country Park. There was a certain amount of expectation setting that had to be done before we left home as she needed shoes on to be taller than the limit of 140cm but they seem fine with that when we arrived at check-in. Quite apart from any qualms over heights, my back gave out last Monday, and so the job of trailing Emma round fell to Christine, with Duncan and myself watching from ground-level.
Donutting

Donutting

·1 min
Emma reached double-figures last week and, conveniently, the school had scheduled an Inset day so that she and her friends (and Duncan!) could celebrate by going donutting at the dry ski-slope in Southampton. They all had a whale of a time although, with the requirement to wear helmets and full body cover, frequent refreshment stops were required in the midday sun. (Also, drag lifts require a little more effort when you’re not actually wearing skis!)

Multi-Stage Docker Build

Docker 17.05 enabled the ability to perform multiple build stages in a single Dockerfile, copying files between them. This brings to regular Docker build a capability that I’ve previously talked about in the context of Rocker, and something that’s of particular use in a compiled language like Java. Let’s see what it would look like in the context of the WebSphere Liberty ferret sample.
Lite Weekend of Running

Lite Weekend of Running

We had a fun Bank Holiday weekend in South Wales competing in the OMM Lite. Christine and I were entered on the Long Score with her Mum having offered to mind the children at the event centre in Cwm-du, nestled in the Black Mountains. The Lite is significant as the event is quite different from the OMM itself. Firstly, as with the Capricorn, you return to the event centre on Saturday so there is no need to carry camping equipment or food. Secondly, the weather at this time of year was considerably better than your average OMM. Lastly, the event was restricted to using rights of way only. This latter point makes a major difference: the navigation was simple, the course was much more runnable, and lastly, it meant that the route choice options were much more limited.
Easter Part II

Easter Part II

·2 mins
After the JK we headed over to Monmouth to spend a few days with Christine’s parents. The Tuesday was a lovely day and we stopped off at Westonbirt Arboretum on the way. Although a little pricey for a Forestry Commission venue there is plenty to see and we spent more time there than we had originally intended. As with, I suspect, most first-time visitors, we set off along the Treetop Walkway that takes you 13 metres up into the trees. As well as being a beautiful structure, it also has a mine of interesting information (most of which I’m afraid I immediately forgot).
JK 2017

JK 2017

·2 mins
We spent most of the Easter weekend south of London orienteering at the JK. We didn’t go to the sprint on Friday (quite frankly, it didn’t seem worth the high entry fee) so our first event was the medium race on Saturday on Ambersham Common. Christine went out first and had a respectable run finishing third on W40. I amused the children with the string course before we walked Emma to the start for her first W10B course. Unfortunately she took a wrong turn and missed out a control, something that Duncan didn’t repeat when he then ran the white course with Christine in tow (it was the same course as Emma’s). I had a scrappy start to my run, wasting a good couple of minutes on #7. Roger Goddard gave me a tow for a while until Geoff Ellis took him away. 12th place was set to become a recurring theme for the weekend.
Introducing Microservice Builder

Introducing Microservice Builder

When the frequency of blog posts drops on this site it generally has two causes: I’m busy and/or I’m working on something that’s IBM Confidential. Both of these have been true over the past six months or so whilst I’ve been working on something we’re calling Microservice Builder. A public beta was announced in the run up to InterConnect which went live on the 24th which means that I can now come up for air and say a little about the work we’ve done so far.

Find me at IBM InterConnect 2017

I’m going to be at IBM’s InterConnect conference this coming week. If you’re going to be there too, there’s a quick run-down of the sessions I’ll be presenting below. The astute will notice that, due to a scheduling snafu, I’m supposed to be presenting two sessions at the same time on Tuesday. If you go to the Liberty/ IBM Containers session then I’m afraid you’ll have to make do with Tom - be kind to him!

How many processors?

Reading Daniel Bryant’s O’Reilly publication Containerizing Continuous Delivery in Java reminded me of the challenge of determining how processors are available to you when running in a container. In the case of Java, a call to Runtime.getRuntime().availableProcessors() should show this all important information. A quick check reveals that, when called in an unconstrained container, this correctly returns the number of cores on my physical hardware (Docker on Linux) or assigned to the VM containing the Docker Engine (Docker Toolbox or Docker for Windows/Mac). If I used the --cpuset-cpus option on docker run to constrain the cores available to the container then this is also correctly reflected in the value returned. The difficulty arises when access to those CPUs is constrained in other ways.