1.

What is service and deployment in Kubernetes?

Answer»

A SERVICE in Kubernetes is defined as an abstraction that constitutes a logical set of pods running at a point in your cluster, providing the same functionality.

A deployment in Kubernetes is a RESOURCE object that provides a declarative update to the applications. A deployment ENABLES you to DESCRIBE an application's life cycle, like which images to use for the app, the number of pods to be present, and their WAY of getting updated.

13. What is the difference between POD and deployment in Kubernetes?
Kubernetes PodKubernetes Deployment
This is a collection of containers and basic objects. All the containers of a pod lie within the same node.This is a kind of controller in Kubernetes. All the containers. All the controllers provide a Pod Template for you to create one responsible for each of them.
It is not suitable for the production stage.It is best suited for the production stage.
It has no rollout or rollback updates.It has both rollout and rollback updates.
It does not monitor each stage of deployment.It monitors each stage of the pod.


Discussion

No Comment Found