Create service and routes on kubernetes

Hello
I have trouble setting up cors policy, based on documentation i need to create proper service and route
How to create service and route in kong ingress deployed in kubernetes