Create Kong Service with Kong Ingress without Kubernetes Service

Ok, so I would like to do EXACTLY this:

curl -i -X POST \
  --url http://localhost:8001/services/ \
  --data 'name=example-service' \
  --data 'url=http://mockbin.org'

but using kong-ingress…

I know there is the External Service option, but this only supports the host (mockbin.org) and not the url (http://mockbin.org).
For me this causes some problems, because I can only specify that its supposed to be port 443, but not that its supposed to be https.

But since I create certificates in k8s via cert-manager, I need to create the kong service inside k8s… How can I do that?


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ