A C# sample app that shows tha use of Kubernetes REST API to perform service discovery of API endpoints
docker build --platform=linux/amd64 -t kube-sd-demo-server
kubectl apply -f k8s-deploy.yaml
Testiing
curl -v -k -H "Content-Type: application/json" -d "{\"a\":\"b\" }" "https://kubernetes.docker.internal/api/demo/notify"