Different ways to expose services in Kubernetes

Muhammad Badawy
5 min readAug 1, 2022
kubernetes service types

In this article, I will explain the different ways to expose kubernetes services to the outside world with comparison, pros and cons for each way. Examples with yaml manifests will be provided for more clarification.

Let’s first explain what is a service inside kubernetes:

A service in kubernetes can be considered as a virtual loadbalancer for set of pods…

--

--

Muhammad Badawy

Living in the line between DevOps Engineering Enthusiasm and Arabic Calligraphy as a passion. LinkedIn: https://www.linkedin.com/in/muhammad-badawy-linked1n/