API Gateway for ms-test--hello-twitch using KrakenD
This repo uses the public docker image devopsfaith/krakend with a single krakend.json file. As you can see in the live coding session, we use a customized KrakenD image maintained by our platform team π that is much easier to configure!
Watch this session on YouTube π
And the other series of ms-test--hello-twitch:
- π Hello World! with @guatebus & @rogervinas
- π Logs & π Metrics with @miquelrossello & @rogervinas
- ποΈ AWS Infrastructure with @tetexxr & @rogervinas
- βοΈ Kafka with @tetexxr & @rogervinas
Related documentation:
docker-compose up -d
curl http://localhost:8090/__health
curl http://localhost:8090/company/123
curl http://localhost:8090/employee/456
curl http://localhost:8090/company/123/employee/456
docker compose down
Just edit docker-compose.yml and use the bitnami/kubectl container instead of the friendsofgo/killgrave one
It will use your credentials to point to one pod in your current default kubernetes context and namespace
docker-compose -f docker-compose-acc.yml up krakend-integration \
; docker-compose -f docker-compose-acc.yml rm -f