- ) Switch to chat_server and run docker build command
docker build -t sse-chat-server:latest .
- ) Switch to sse_server and run docker build command
docker build -t sse-server:latest .
Switch to envoy and run docker build command
docker build -t envoy-proxy:latest .
(Optional) If need change the envoy.yaml and rebuild the image
Switch to K8sresources and run following commands
kubectl create namespace apk
kubectl apply -f . -n apk
kubectl port-forward service/envoy-proxy 9095:9095 9901:9901 -n apk
curl http://localhost:9095/sse
curl http://localhost:9095/chat/stream
curl http://localhost:9095/chat/send -X POST -d "message=Hello"