Achieve your goals faster with our ✨NEW✨ Personalized Learning Plan - select your content, set your own timeline and we will help you stay on track. Log in and Head to My Learning to get started! Learn more

Offered By: IBM

Configuring microservices running in Kubernetes

Explore how to externalize configuration using MicroProfile Config and configure your microservices using Kubernetes ConfigMaps and Secrets.

Continue reading

Guided Project

Open Liberty

469 Enrolled
4.0
(2 Reviews)

At a Glance

Explore how to externalize configuration using MicroProfile Config and configure your microservices using Kubernetes ConfigMaps and Secrets.

You will learn how and why to externalize your microservice’s configuration. Externalized configuration is useful because configuration usually changes depending on your environment. You will also learn how to configure the environment by providing required values to your application using Kubernetes. Using environment variables allows for easier deployment to different environments.


MicroProfile Config provides useful annotations that you can use to inject configured values into your code. These values can come from any configuration source, such as environment variables. To learn more about MicroProfile Config, read the Configuring microservices guide.


Furthermore, you’ll learn how to set these environment variables with ConfigMaps and Secrets. These resources are provided by Kubernetes and act as a data source for your environment variables. You can use a ConfigMap or Secret to set environment variables for any number of containers.


Created by 

The Open Liberty Project team

Estimated Effort

15 Minutes

Level

Intermediate

Skills You Will Learn

Kubernetes, MicroProfile, Open Liberty

Language

English

Course Code

GPXX07YGEN

Tell Your Friends!

Saved this page to your clipboard!

Have questions or need support? Chat with me 😊