Nacos as a Config Server

Config servers are widely used in microservices architectures as placeholders for configurations. They also provide a centralized repository for users to manage configs for multiple applications.

Today, we are going to look at an example of how to use Nacos as a config server with Spring Cloud for Alibaba. The example is a Spring Boot application, running a Nacos server locally.

Deploy Nacos on a Kubernetes cluster

Recently, a demo was given on how to deploy a Nacos service on K8s. In this article, we’ll provide more context on the demo. Hopefully, it will be helpful when you are trying it out.

Nacos

Nacos is an open source project offered by Alibaba. It supports two major use cases, namely, service registry and config service. Even though Nacos is written in Java, it is designed to be a general purpose service registry and config server.