I am running on Vultr public cloud with a CoreOS Kubernetes. I am working on configuring a ingress controller so I can reach my backend SpringBoot service.
I have a Spring Boot service "springboot" running on port 30123.
I have this ingress yaml from the Kubernetes documentation with modified to my service:
ingress.yaml
------------
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: test-ingress
spec:
backend:
serviceName: springboot
servicePort: 31922
kubectl get ing
Name HOSTS ADDRESS PORTS AGE
test-ingress * 80 2m
curl mydns.com Connection refused.
I am not sure if I am understanding how it's supposed to work.
Can someone help?
thanks