---

How to create a Service in Kubernetes

A service in Kubernetes is an abstraction layer over Pods. It defines a logical set of Pods. It provides a single IP address and DNS name by which pods can be accessed. In this article, we will see the steps to create a Serice of type NodePort.