<p>So I built my Kubernetes cluster on AWS using <a href="https://github.com/kubernetes/kops/blob/master/docs/aws.md" rel="nofollow noreferrer">KOPS</a></p>

<p>I then deployed SocketCluster on my K8s cluster using <a href="https://docs.baasil.io/deploying_your_app_to_your_kubernetes_cluster.html" rel="nofollow noreferrer">Baasil</a> which deploys 7 <a href="https://github.com/SocketCluster/socketcluster/tree/master/kubernetes" rel="nofollow noreferrer">YAML files</a></p>

<p>My problem is: the <a href="https://github.com/SocketCluster/socketcluster/blob/master/kubernetes/scc-ingress.yaml" rel="nofollow noreferrer">scc-ingress</a> isn't getting any IP or endpoint as I have not deployed any <a href="http://kubernetes.io/docs/user-guide/ingress/#ingress-controllers" rel="nofollow noreferrer">ingress controller</a>.</p>

<p>According to <a href="http://kubernetes.io/docs/user-guide/ingress/#ingress-controllers" rel="nofollow noreferrer">ingress controller</a> docs, I am recommended to deploy an <a href="https://github.com/kubernetes/contrib/blob/master/ingress/controllers/nginx/README.md" rel="nofollow noreferrer">nginx ingress controller</a></p>

<p>I need easy and explained steps to deploy the nginx ingress controller for my specific cluster. </p>

<p>To view the current status of my cluster in a nice GUI, see the screenshots below:</p>

<p><strong>Deployments</strong></p>

<p><a href="https://i.stack.imgur.com/JP6Uc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JP6Uc.png" alt="Deployments"></a></p>

<p><strong>Ingress</strong></p>

<p><a href="https://i.stack.imgur.com/f7Jin.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f7Jin.png" alt="Ingress"></a></p>

<p><strong>Pods</strong></p>

<p><a href="https://i.stack.imgur.com/j9W3t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j9W3t.png" alt="Pods"></a></p>

<p><strong>Replica Sets</strong></p>

<p><a href="https://i.stack.imgur.com/EcM8I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EcM8I.png" alt="Replica Sets"></a></p>

<p><strong>Services</strong></p>

<p><a href="https://i.stack.imgur.com/5OY7V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5OY7V.png" alt="Services"></a></p>

<p>The answer is here <a href="https://github.com/kubernetes/kops/tree/master/addons/ingress-nginx" rel="nofollow noreferrer">https://github.com/kubernetes/kops/tree/master/addons/ingress-nginx</a></p>

<p>kubectl apply -f <a href="https://raw.githubusercontent.com/kubernetes/kops/master/addons/ingress-nginx/v1.4.0.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/kubernetes/kops/master/addons/ingress-nginx/v1.4.0.yaml</a></p>

<p>But obviously the scc-ingress file needed to be changed to have a host such as foo.bar.com</p>

<p>Also, need to generate a self-signed SSL using OpenSSL as per this link <a href="https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/tls" rel="nofollow noreferrer">https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/tls</a></p>

<p>Finally, had to add a CNAME on Route53 from foo.bar.com to the dns of the ELB created</p>
