DevOps Classroom Series – 18/Nov/2020

K8s Service

  • We have create a replica set with n pods. How do we access the application running inside the pods.
  • In normal scenarios for these kind of problems, we use a load balancer. Preview
  • In K8s we use Service Object. A Service is a way to create a named label selector. This Service Object will recieve an IP Address and also DNS Name Preview Preview
  • So now lets create two replica-sets and two service.
  • Lets understand service types
    • Cluster IP
    • Node Port
    • loadbalancer
    • external name
  • Lets create the replicasets from the changeset Refer Here Preview Preview Preview Preview

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Floating Social Media Icons by Acurax Wordpress Designers
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube