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

Services without selectors

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

Contents


More Related Answers

  • How to define a service without a selector?

  • Services without selectors

    0

    Services most commonly abstract access to Kubernetes Pods thanks to the selector, but when used with a corresponding set of EndpointSlices objects and without a selector, the Service can abstract other kinds of backends, including ones that run outside the cluster.

    For example:

    You want to have an external database cluster in production, but in your test environment you use your own databases.

    You want to point your Service to a Service in a different Namespace or on another cluster.

    You are migrating a workload to Kubernetes. While evaluating the approach, you run only a portion of your backends in Kubernetes.

    In any of these scenarios you can define a Service without specifying a selector to match Pods. For example:

    Popularity 1/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


    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.