Spring Cloud Config Server on Kubernetes (Part 2)

Spring Cloud Config Server on Kubernetes (Part 2)

Learn how to get your Spring Boot services running on Kubernetes, all in an effort to create a centralized configuration for your microservices. 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.

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 quickly you can pull the code and follow the instructions in the REDME.

Prerequisites

To build and run the sample source code you’ll need Java, Docker and a local Kubernetes install. I use minikube locally, so if you want to follow the exact steps in this article you’ll need the same. If you’re using something other than minikube you’ll still be able follow along, you’ll just need to be familiar with whatever local Kubernetes install you’re using.

tutorial microservices kubernetes configuration spring cloud config server

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

50+ Useful Kubernetes Tools for 2020 - Part 2

Our original Kubernetes tool list was so popular that we've curated another great list of tools to help you improve your functionality with the platform.

Spring Cloud Config Server on Kubernetes (Part 1)

Learn how to use Spring Cloud Config Server and Kubernetes to create a centralized configuration for your microservices. 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.

How to Setup the Spring Cloud Config Server With Git

How to Setup the Spring Cloud Config Server With Git. Spring cloud config server helps to manage all the application-specific properties from a single location e.g. Git without affecting the running microservices.

Spring Cloud Config — Centralized Configuration in Microservices

Learn how to build a Git-backed configuration server using Spring Cloud Config Server and consuming the configuration settings from a Spring Boot application

Consumer-Driven Contract Testing With Spring Cloud Contract

The article demonstrates how to write a contract between the producer & the consumer and how to implements the producer & the consumer side test cases for Spring Cloud Contract through an HTTP request between two microservices.