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

How to publish services

Kubernetes employs Services to enable access to a set of pods that share a common label selector. This allows communication between applications within the cluster and makes it possible to expose applications running in the cluster to external entities, as depicted in the following figure:

Figure 4.16 – K8s service exposure types

Figure 4.16 – K8s service exposure types

Kubernetes offers different service types that allow you to specify how a service should be exposed. Here are the three main types:

  • ClusterIP: ClusterIP is the default service type that restricts access to a Service to within the cluster only. This is useful for applications that need to communicate with each other within the cluster but do not need to be accessed from outside the cluster.
  • NodePort: By using this configuration, the Service becomes accessible from external sources outside of the cluster. To achieve this, a specific port is opened on all nodes to forward traffic to the...
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