mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
add k8s demo for api server
This commit is contained in:
parent
1bbc5d2233
commit
7a7288314a
4 changed files with 166 additions and 0 deletions
26
demos/samples_python/k8s_pods/README.md
Normal file
26
demos/samples_python/k8s_pods/README.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
This demo shows how you can use a publicly hosted rest api and interact it using arch gateway.
|
||||
|
||||
# How to run this demo.
|
||||
|
||||
Before staring make sure you have completed the pre-requisites [here](https://github.com/katanemo/archgw?tab=readme-ov-file#prerequisites)
|
||||
|
||||
In separate window start 1) model server, 2) arch gateway 3) docker container for UI and for debugging 4) tail access logs
|
||||
|
||||
1. start model server
|
||||
```
|
||||
archgw up --service model_server --foreground
|
||||
```
|
||||
|
||||
1. start arch gateway
|
||||
```
|
||||
archgw up --service archgw --foreground
|
||||
```
|
||||
|
||||
1. start docker container for ui
|
||||
```
|
||||
docker compose up
|
||||
```
|
||||
1. tail access logs
|
||||
```
|
||||
tail -F ~/archgw_logs/access_*
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue