Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Service Types and ClusterIP

Sumit Rawal answered on June 17, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • What are the different types of services in Kubernetes?
  • how to get information about cluster in kind
  • create kind cluster
  • What Are Services in K8s?
  • service type kubernetes
  • Different Types of Service
  • create kind cluster with custom name
  • Clusterwide Services
  • Clusterwide Services
  • type: ClusterIP
  • What Is ClusterIP?
  • Backend Service: (ClusterIP type )
  • clusterip-service.yaml
  • Which of these are NOT a service type?
  • The port exposed by the ClusterIP type service is

  • Service Types and ClusterIP

    0

    owing

    Service types

    ClusterIP

    Service types

    Now that we have seen how a service works, let’s talk about the different types of services we can have. In the previous lesson, we used a NodePort Service that will open a port on all the worker nodes (30001 in our case) and deliver requests received on that port to all the pods that are behind it. Each Service type has its different uses, and we will learn how to choose the best option for our needs.

    ClusterIP

    This is the simplest type of service. It’s also the default type, which means if we create a service without a type attribute Kubernetes will assume we mean ClusterIP.

    This type of service is used when we only need to give other applications that are running inside our cluster access to our pods. If we have, say, three replicas of application app-a and another application app-b needs a stable endpoint to access these replicas, we could create service-a using the ClusterIP type. 

    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 17 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.