Configuration with Spring Cloud Kubernetes

Configuration with Spring Cloud Kubernetes

Cloud native applications need configurations and in this article, we will see how to use Kubernetes ConfigMap to provide this sort of configuration to our Spring application. ConfigMap enables us to separate configurations from Pod (and obviously from our application). Data contained in ConfigMap can be injected in the definition of the Pod using different strategies

Every application needs a configuration, usually on a separated property file that can be read at runtime and this configuration probably changes with the environment. Also, cloud native applications need configurations and in this article, we will see how to use Kubernetes ConfigMap to provide this sort of configuration to our Spring application

Kubernetes Configmap

In Kubernetes, we have ConfigMap, a native component useful to manage configurations. ConfigMap enables us to separate configurations from Pod (and obviously from our application). Data contained in ConfigMap can be injected in the definition of the Pod using different strategies, for example, we can see it as environment variables.

kubernetes java spring-cloud cloud programming

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.

Multi-cloud Spending: 8 Tips To Lower Cost

Mismanagement of multi-cloud expense costs an arm and leg to business and its management has become a major pain point. Here we break down some crucial tips to take some of the management challenges off your plate and help you optimize your cloud spend.

Kubernetes in the Cloud: Strategies for Effective Multi Cloud Implementations

This article explains how you can leverage Kubernetes to reduce multi cloud complexities and improve stability, scalability, and velocity.

Azure Spring Cloud: A Comprehensive Overview

In this article, you will learn about Azure Spring Cloud and its main features quickly and with ease, through a very down-to-earth approach.

How to Install OpenJDK 11 on CentOS 8

What is OpenJDK? OpenJDk or Open Java Development Kit is a free, open-source framework of the Java Platform, Standard Edition (or Java SE).