Spring Cloud Config Server on Kubernetes – Part 2

This is the second of a two part article about building centralised configuration with Spring Cloud Config Server. In this post we'll take the the two Spring Boot services created in part one and run them on Kubernetes. We'll initially deploy to a local cluster before stepping things up and deploying to Azures manged Kubernetes Service, AKS. By the end of this post you should have two Spring Boot services deployed to an AKS cluster as shown in the diagram below. Source Code The full source code for this post (and part one) is available on Github. If you want to get up and running [...]

By |2021-04-21T21:56:54+01:00April 20th, 2021|Kubernetes|0 Comments

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|0 Comments

Configuring Micro Services – Spring Cloud Config Server

Configuring Micro Services – Spring Cloud Config Server Managing application configuration in a traditional monolith is pretty straight forward. Configuration is usually externalised to one or more property files that sit on the same server as the application. Externalising the configuration makes sense because it allows configuration to be updated without a rebuild and redeploy of the application. It also means that build artifacts are environment agnostic, allowing you to deploy the same artifact to dev, uat, prod etc. Configuring Micro Services The move toward micro services has created a number of new challenges when it comes to configuration. Micro services by definition are [...]

By |2019-03-19T21:28:39+00:00August 2nd, 2018|AWS, Spring Boot|0 Comments
Go to Top