Kubernetes ingress not showing an ip

11/30/2018

Configured one master and 2 worker nodes Kubernetes cluster in my local vms using kubeadm. All nodes are running properly.

wms1 is my NodePort service running on port 32261.
I am able to access the service using node-ip:32261.
I want to create an ingress to this node port service.

The content of the ingress YAML file:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: wms2-ingress
spec:
  backend:
    serviceName: wms1
    servicePort: 80 

Showing:

ingress.extensions/wms2-ingress created. 

But i am not able to see address of the ingress.

packet@ubuntu:~$ kubectl get ingress
 NAME           HOSTS   ADDRESS   PORTS      AGE 
 wms2-ingress      *                 80      3m59s 
packet@ubuntu:~
-- samba
kubernetes
kubernetes-ingress

1 Answer

11/30/2018

"Ingress" is just a configuration. You need to install an Ingress Controller.

What is ingress:

-- Larsonnn
Source: StackOverflow