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

Node Selector

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

Contents


More Related Answers

  • dom selector
  • node query selector
  • query selector js

  • Node Selector

    0

    . You can constrain a Pod so that it can only run on particular set of node(s).

    There are several ways to do this and the recommended approaches all use label selectors to facilitate the

    selection.

    2.

    Generally such constraints are unnecessary, as the scheduler will automatically do a reasonable placement

    (for example, spreading your Pods across nodes so as not place Pods on a node with insufficient free

    resources).

    3.

    However, there are some circumstances where you may want to control which node the Pod deploys to, for

    example, to ensure that a Pod ends up on a node with an SSD attached to it, or to co-locate Pods from two

    different services that communicate a lot into the same availability zone.

    4.

    You can use any of the following methods to choose where Kubernetes schedules specific Pods:

    a. Node-Selector

    b. Affinity and Anti-Affinity

    c. Nodename  

    Popularity 2/10 Helpfulness 1/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 06 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.