Giter Club home page Giter Club logo

Comments (3)

theemadnes avatar theemadnes commented on May 18, 2024

Ok let me take a look.

from kubernetes-engine-samples.

theemadnes avatar theemadnes commented on May 18, 2024

@boredabdel you're missing an env definition in your deployment spec. You only have the METADATA entry. That's just used as a string, but there's another env var named ECHO_HEADERS:

- name: ECHO_HEADERS
  valueFrom:
    configMapKeyRef:
      name: whereami-configmap
      key: ECHO_HEADERS

from kubernetes-engine-samples.

theemadnes avatar theemadnes commented on May 18, 2024
{"cluster_name":"asm-test-01","headers":{"Accept":"*/*","Content-Length":"0","Host":"35.238.34.122","User-Agent":"curl/7.64.1","X-B3-Sampled":"0","X-B3-Spanid":"a8c4ef49fb63d4a3","X-B3-Traceid":"8a240cd17a6bff8ea8c4ef49fb63d4a3","X-Forwarded-Proto":"http","X-Request-Id":"3d3fd5f0-dbd6-491e-977f-a6556ea27e34"},"host_header":"35.238.34.122","metadata":"echo_headers_enabled","node_name":"gke-asm-test-01-default-pool-f9ad78c0-4qe7.c.alexmattson-scratch.internal","pod_name":"whereami-abdel-c4bf8f85b-dz84q","pod_name_emoji":"🥗","project_id":"alexmattson-scratch","timestamp":"2020-12-04T05:03:30","zone":"us-central1-f"}```

from kubernetes-engine-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.