Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Achieving Digital Transformation Using Hybrid Cloud

You're reading from   Achieving Digital Transformation Using Hybrid Cloud Design standardized next-generation applications for any infrastructure

Arrow left icon
Product type Paperback
Published in Jul 2023
Publisher Packt
ISBN-13 9781837633692
Length 234 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (3):
Arrow left icon
Praveen Rajagopalan Praveen Rajagopalan
Author Profile Icon Praveen Rajagopalan
Praveen Rajagopalan
Vikas G Vikas G
Author Profile Icon Vikas G
Vikas G
Ishu Verma Ishu Verma
Author Profile Icon Ishu Verma
Ishu Verma
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Part 1: Containers, Kubernetes, and DevOps for Hybrid Cloud
2. Chapter 1: Adopting the Right Strategy for Building a Hybrid Cloud FREE CHAPTER 3. Chapter 2: Dealing with VMs, Containers, and Kubernetes 4. Chapter 3: Provisioning Infrastructure with IaC 5. Chapter 4: Communicating across Kubernetes 6. Part 2: Design Patterns, DevOps, and GitOps
7. Chapter 5: Design Patterns for Telcos and Industrial Sectors 8. Chapter 6: Securing the Hybrid Cloud 9. Chapter 7: Hybrid Cloud Best Practices 10. Index 11. Other Books You May Enjoy

Pod-to-pod communication

While pods can communicate with each other using direct IP addresses, it is not the recommended way of communicating. Pods are ephemeral and are meant to be replaced, rather than managed directly.

There are a few different ways that pods can communicate with each other in Kubernetes:

  • Within the same node: Pods can communicate with each other using localhost or their own IP addresses, just as processes on a regular host can.
  • Across nodes: Pods can communicate with each other across nodes using their own IP addresses, just as processes on different hosts can. However, this can be difficult to set up and manage, so it is usually easier to use a service to facilitate communication between pods.
  • Using a service: A Kubernetes service is a logical abstraction over a group of pods, and it provides a stable IP address and DNS name for those pods. Pods can communicate with each other using the DNS name of the service, rather than the IP addresses of...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image