Comments (4)
The fields have been updated a bit lately - a sample (current) response:
{"cluster_name":"ph-demo-01","host_header":"hello","node_name":"gke-ph-demo-01-default-pool-2259626e-qqxj.c.alexmattson-scratch.internal","pod_ip":"10.48.2.24","pod_name":"whereami-7566845f96-l5klw","pod_name_emoji":"💔","pod_namespace":"default","pod_service_account":"whereami-ksa","project_id":"alexmattson-scratch","timestamp":"2020-07-14T04:03:49","version":"1.0","zone":"us-central1-f"}
It uses a bunch of data sources in its response, like host headers, K8s downstream API, etc. Per a GOOG coworker's request, I added a feature flag to contact a downstream JSON service to include its response in the reply, which can be demo'ed using Kustomize
via the overlay directory in the repo. As the name suggests, it's GKE-centric.
from kubernetes-engine-samples.
I added the emoji bit to hash the pod_name
so you have a consistent visual representation of which pod you're talking to.
from kubernetes-engine-samples.
The code is now pushed to this repo via #132 and #133. Once @theemadnes is able to get the image into the google-samples GCR we can close this issue. Thanks for all the help @askmeegs !
from kubernetes-engine-samples.
Pushed #134 to include header reflection.
from kubernetes-engine-samples.
Related Issues (20)
- whereami doesn't bind to ipv6 addresses on dualstack clusters HOT 7
- whereami missing requests / limits
- Update bucketName value in deployment manifests for Triton and TFServing tutorial
- sd_dummy_exporter.go has error "Failed to write time series data" HOT 3
- whereami instructions in README are very dated
- Your example manifests for Hubble are formatted incorrectly HOT 3
- add multi-arch whereami image
- use gunicorn as whereami server in flask mode
- JAX Hello World Tutorial - A Multi-Node GKE H100 with GPUDirectTCPx
- gke-scheduled-autoscaler uses deprecated package
- Automatically generate README.md files
- enable OTEL trace logging correlation in whereami
- fix HTTP retries on whereami
- Tutorial uses wrong value
- Remove Terraform duplication in `streaming/`
- question: GKE VPA recommender proto generation HOT 2
- Update the Ruby quickstart sample (currently crashing on deploy)
- Automate Apache license header addition or checking HOT 1
- "whereami" application faield with error `ModuleNotFoundError`
- Action Required: Fix Renovate Configuration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-engine-samples.