Book Image

Achieving Digital Transformation Using Hybrid Cloud

By : Vikas Grover, Ishu Verma, Praveen Rajagopalan
Book Image

Achieving Digital Transformation Using Hybrid Cloud

By: Vikas Grover, Ishu Verma, Praveen Rajagopalan

Overview of this book

Hybrid cloud technology can be leveraged by organizations aiming to build next-gen applications while safeguarding prior technological investments. This book will help you explore different hybrid cloud architectural patterns, whether designing new projects or migrating legacy applications to the cloud. You'll learn about the key building blocks of hybrid cloud enabling you to deploy, manage, and secure applications and data while porting the workloads between environments without rebuilding. Further, you’ll explore Kubernetes, GitOps, and Layer 3/7 services to reduce operational complexity. You'll also learn about nuances of security and compliance in hybrid cloud followed by the economics of hybrid cloud. You’ll gain a deep understanding of the concepts with use cases from telecom 5G and industrial manufacturing, giving you a glimpse into real industry problems resolved by hybrid cloud, and unlocking millions of dollars of opportunities for enterprises. By the end of this book, you'll be well-equipped to design and develop efficient hybrid cloud strategies, lead conversations with senior IT and business executives, and succeed in hybrid cloud implementation or transformation opportunities.
Table of Contents (12 chapters)
Part 1: Containers, Kubernetes, and DevOps for Hybrid Cloud
Part 2: Design Patterns, DevOps, and GitOps

Container-to-container communication

Pods can have multiple containers and a pod has its network namespace (netns).

Network namespaces enable you to have network interfaces and IP tables that are independent of the host environment (i.e., the K8s worker node).

Containers inside a pod share the same networking namespace. Because of the shared networking namespace, containers get access to the same network resources, such as the IP address and ports through the same IP table routing logic.

Each container inside the pod can communicate via localhost as if they are part of the same netns.

As shown in the following figure, the containers inside a pod share the same netns:

Figure 4.9 – Container-to-container communication

Figure 4.9 – Container-to-container communication

Having learned how containers communicate with each other, now it is time to look into how pods communicate with each other.