-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whereami app for GKE networking examples #131
Comments
The fields have been updated a bit lately - a sample (current) response:
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 |
I added the emoji bit to hash the |
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 ! |
Pushed #134 to include header reflection. |
@theemadnes and I would like to submit https://github.com/theemadnes/gke-whereami to this repo so it can exist in gcr.io/google-samples and be referenced by GCP documentation as examples.
context
We are expanding our examples of GKE and Anthos Ingress, Service, and general networking example/recipes for reference from GKE documentation (similar to what was done for network policy). We have recipes for internal Ingress, external Ingress, internal L4 load balancing, custom HTTP headers, sticky sessions, weight-based load balancing, multi-cluster ingress, custom gRPC health checks .... and more.
challenge
We would like to use a common app for all examples. The challenge is that we require an app that replies with enough information about itself to demonstrate whatever key feature that's being focused on. The current apps in gcr.io/google-samples are either enourmously complex (looking at you hipster shop) or they don't provide enough response to be useful (hello-app).
whereami is a single Pod Flask app (easy to understand and deploy for the user) that provides the following as a response:
This makes it easy for demos to show scaling, proximity-based load balancing between regions, sticky session etc and the simplicity of just a JSON response also makes it great for documentation example (no pictures required). Would it be possible to get whereami imported into this repo and pushed to google-samples so it can be referenced and used by GKE documentation?
cc @askmeegs
The text was updated successfully, but these errors were encountered: