4
votes

So I built my Kubernetes cluster on AWS using KOPS

I then deployed SocketCluster on my K8s cluster using Baasil which deploys 7 YAML files

My problem is: the scc-ingress isn't getting any IP or endpoint as I have not deployed any ingress controller.

According to ingress controller docs, I am recommended to deploy an nginx ingress controller

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

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

Deployments

Deployments

Ingress

Ingress

Pods

Pods

Replica Sets

Replica Sets

Services

Services

1

1 Answers

3
votes

The answer is here https://github.com/kubernetes/kops/tree/master/addons/ingress-nginx

kubectl apply -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/ingress-nginx/v1.4.0.yaml

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

Also, need to generate a self-signed SSL using OpenSSL as per this link https://github.com/kubernetes/contrib/tree/master/ingress/controllers/nginx/examples/tls

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