#Kubernetes Services | kubernetes tutorial for beginners | ClusterIP NodePort LoadBalancer | k8s

preview_player
Показать описание
#Kubernetes Services | kubernetes tutorial for beginners | ClusterIP NodePort LoadBalancer
Why Service?, Types of Services in k8s ,ClusterIP, NodePort, LoadBalancer
The two are unrelated, isolated components each with distinct responsibilities. A deployment is responsible for keeping a set of pods running. A service is responsible for enabling network access to a set of pods. We could avoid using a service by enabling network access to each pod manually, however when pods are created and destroyed, we'll have to re-enable networking for each of them. That's not ideal. Services let you define networking rules for pods based on their labels. Whenever a pod with a matching label appears in the Kubernetes cluster, the service will detect it and start using it to handle network requests made to the service. A service's type determines how the service is exposed—whether it is only accessible within the cluster, accessible through a static port on each node, or using a load balancer from a cloud provider. With a Service in front of a set of Pods, the Pods can scale up and down, they can fail, and they can be updated… As these events occur, the Service in front of them observes the changes and updates its knowledge of the Pods. But it never changes the stable IP, DNS and port that it exposes. Think of Services as having a static front-end and a dynamic back-end.
The front-end consists of the IP, DNS name, and port, and never changes. The back-end consists of the Pods, which are fluid and can be constantly changing.
kubernetes,kubernetes services,kubernetes services tutorial,kubernetes service,kubernetes service types,services in kubernetes,kubernetes service discovery,services kubernetes,services,azure kubernetes services,kubernetes service mesh,kubernetes services example,kubernetes service yaml,kubernetes headless service,kubernetes tutorial,headless service in kubernetes,kubernetes service clusterip,clusterip service kubernetes,kubernetes ingress
Keywords : kubernetes tutorial, kubernetes tutorial for beginners, k8s tutorial, k8s tutorial for beginners, kubernetes ClusterIP, kubernetes NodePort, kubernetes LoadBalancer, k8s ClusterIP, k8s NodePort, k8s LoadBalancer,
Рекомендации по теме