Feedback

Chat Icon

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Autoscaling Microservices in Kubernetes: Best Practices
47%

Kubernetes: A Natural Fit for Scalable Microservices

Kubernetes frees developers from implementing the tooling and infrastructure needed to put these best practices into action. It provides built-in mechanisms and naturally encourages several of these best practices.

For example, in Kubernetes, the cluster DNS implements the service discovery functionality. When you create a Service, Kubernetes automatically generates DNS records for it.

A Service named service-name in the namespace-name namespace can be accessed by the stable DNS name service-name.namespace-name.svc.cluster.local. When the underlying Deployment scales up or down, the DNS record dynamically updates to point to the current set of available Pods, regardless of the nodes they run on.

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Enroll now to unlock all content and receive all future updates for free.