Spring Cloud Config Server on Kubernetes – Part 1

This is the first of a two part article where I'll show you how to use Spring Cloud Config Server to build centralised configuration for your microservices.  In this first post we'll create a Config Service that pulls its data from a Git repo and exposes it to other services. We'll also create a consumer, a Config Consumer Service that pulls from the Config Service on startup.  The diagram below shows how the services will interact. In part two of this article we'll take the two services and deploy them to Kubernetes. We'll initially deploy and test on a local Kubernetes cluster, before deploying on Azures [...]

By |2021-04-20T23:41:50+01:00April 11th, 2021|Kubernetes|1 Comment

Docker – Multi Container App

Docker - Multi Container App In my last post I used Docker to build and run a simple Spring Boot application. This post will take things a little further by introducing a second container, showing you how distinct components can be deployed in separate containers and how those containers can communicate. We'll build a simple Spring Boot app with a REST endpoint that takes an incoming message and adds it to an ActiveMQ message queue. A second endpoint will use a receiver component to consume the next message from the queue and return it to the client.  The application itself is simple but it'll provide [...]

By |2019-02-13T17:24:54+00:00August 11th, 2016|JMS, Spring Boot|0 Comments

Docker & Spring Boot

Docker & Spring Boot Docker allows you to package an application with its dependencies, into a light weight, portable container that can run on almost any environment.  You can think of a Docker container as a run time, a mini virtual machine that encapsulates your application and its dependencies. In order to run a container you need a Docker image. An image is like a template that defines everything that will exist within the container. You can almost think of an container as a run time instance of the image it was created from. In this post we'll define and build 3 slightly different Docker [...]

By |2019-02-13T17:31:58+00:00July 22nd, 2016|Spring Boot|0 Comments
Go to Top