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

Discovering services using DNS and environment variables#

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

Contents


More Related Answers

  • change dns server for vpn connection

  • Discovering services using DNS and environment variables#

    0

    Services can be discovered through two principal modes:

    Environment variables

    DNS

    Every Pod gets environment variables for each of the active Services. They are provided in the same format as what Docker links expect, as well with the simpler Kubernetes-specific syntax.

    Let’s take a look at the environment variables available in one of the Pods we’re running i.e. go-demo-2-db.

    Let's get environment variables for go-demo-2-db

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 23 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.