Can some one help me out on exposing service with ingress ?
My application is running on 18630 in pod.
As per company standard we need to use port no 80 and 443 using load balancer service.
Another way I got to know is use Cluster Ip with ingress .for exposing the application.Below is ingress & SVC yaml.Please let me know if further info required.How to access the service?? getting confused here
Ingress Yaml:
- apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: auth-sdc
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:- host:
http:
paths:- path: /
backend:
serviceName: auth-sdc
servicePort: 18630
============
- path: /
- host:
- apiVersion: v1
kind: Service
metadata:
name: auth-sdc
labels:
app: auth-sdc
spec:
ports:
port: 80
targetPort: 18630
protocol: TCP
selector:
app: auth-sdc