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

ClusterIP

Sumit Rawal answered on May 6, 2023 Popularity 4/10 Helpfulness 1/10

Contents


More Related Answers

  • clustering
  • kubernetes clusterip
  • verify the cluster is okay
  • Cluster
  • ways to spin up cluster
  • create cluster
  • type: ClusterIP
  • clusterip-service.yaml
  • Creating a Cluster: Discussing the Specifications
  • Creating a Cluster: Discussing the Specifications
  • Creating the Cluster #
  • Destroying the Cluster
  • Creating a Cluster
  • Destroying Cluster Zones
  • Creating a Cluster
  • create cluster

  • ClusterIP

    0

    Exposes the Service on a cluster-internal IP. Choosing this value makes the Service only reachable from within the cluster. This is the default that is used if you don't explicitly specify a type for a Service. You can expose the Service to the public internet using an Ingress or a Gateway.  

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

    Closely Related Answers



    0

    ClusterIP:

    1. Expose virtual IP reachable from within the cluster

    2. Mainly used to communicate between components of microservices

    3. Also used to communicate between pods on different-2 nodes & default service type.  

    Popularity 5/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on May 06 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10

    0

    A Society Analogy :

    If you have lived in the gated society in the metro cities, you would have experienced that this society comprises multiple high-rise towers with multiple flats belonging to individual towers. Multiple families reside within each flat of the given tower. Imagine each tower having its own common address which in turn has a gateway to multiple flats with their own unique address, so if one has to reach out to a particular flat in tower B, it has to first locate the tower B gate address and then will be getting the access of local flat address lying within the tower B.

    The address of tower A & Tower B can be considered similar to ClusterIP, this cluster IP’s of each tower acts like a single endpoint/ gateway (Service)to connect to each pod (Family) living in the given cluster having their own local IP addresses.

    Let’s Understand ClusterIP Further With One More Example:

    In any given cluster node there can be multiple types of Pods viz

    Front-end pod

    Backend pods

    Redis pods

    Database MySQL pods

    etc…

    Each of these types of pods lying within an internal cluster will have a different internal network IP, which is liable to change. In order, to talk to each other. For example, the front-end pod may be talking to the backend pods, backend pods, in turn, may require to talk to Redis pods, there is the requirement for a more reliable and efficient mechanism, ClusterIP is our friend here.

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

    0

    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 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    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.