what is the difference between deployment and service kubernetes?
What's the difference between a Service and a Deployment in Kubernetes? A deployment is responsible for keeping a set of pods running. A service is responsible for enabling network access to a set of pods. ... Then our service could route network requests to those pods via selecting them based on their labels.