1.4 KiB
Kubernetes API Demo
This demo shows how you can use a publicly hosted REST API and interact with it using the Arch Gateway.
Summary
In this demo, you will learn how to set up and run a model server, Arch Gateway, and a Docker container for the UI. You will also learn how to tail access logs for debugging purposes. The demo includes examples of getting namespace details and retrieving pod information from a Kubernetes cluster.
How to run this demo.
Before starting make sure you have completed the pre-requisites here
In separate window start 1) model server, 2) arch gateway 3) docker container for UI and for debugging 4) tail access logs
-
start model server
archgw up --service model_server --foreground -
start arch gateway
archgw up --service archgw --foreground -
start docker container for ui
docker compose up -
tail access logs
tail -F ~/archgw_logs/access_*
Here is a sample screenshot of the demo in action,
Observability
You can see access logs to see details of outbound API calls through arch gateway. You can also see request details using supplied jaeger UI. Following is a screenshot showing one request served through arch gateway,


