A simple Node.js application with deployment to a Kubernetes cluster running on AWS. Kube cluster set up using KOPS.
Instructions for launching the cluster: https://kubernetes.io/docs/getting-started-guides/kops/
Build the cluster configuration (replace the zone and cluster name with your values):
kops create cluster --zones=us-east-1c useast1.dev.example-kube-cluster.com
Create the cluster in AWS:
kops update cluster useast1.dev.example-kube-cluster.com --yes
To add a Kube UI:
kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/kubernetes-dashboard/v1.4.0.yaml
kubectl proxy
Then navigate to http://127.0.0.1:8001/ui
Delete the cluster:
kops delete cluster useast1.dev.example-kube-cluster.com --yes
Note: Due to this issue, after deleting the cluster, you must manually delete the cluster's information from ~/.kube/config.
To add ability to pull images from private registry: https://kubernetes.io/docs/user-guide/images/#specifying-imagepullsecrets-on-a-pod