Do the following once to prepare your environment:
Reference:
If you are deploying from Win10 laptop, enable Linux Subsystem on Windows Features and install Linux subsystem of your choice. The document below assumes that Ubuntu 16.x was installed. Follow for reference if necessary. As an alternative, any Linux machine or VM could be used.
Install Helm client from (this document was tested with client version 2.9.0, ).
AKS only: use az aks install-cli to install kubectl client. Refer MS documentation for details.
OpenShift only: Install OpenShift client from (this document was tested with client version 3.11.0, ).
Ensure that helm, kubectl (and oc if OpenShift is used) binaries are included in your PATH. On Win10-based Linux subsystem you can just move these binaries to ~/bin. Note: oc binary is full copy of kubectl binary if OpenShift is used.
Ensure that primary nameserver in /etc/resolv.conf is 172.30.1.135. Note that Win10-based Linux subsystem uses to prepend 8.8.8.8 and 8.8.4.4 nameservers as primary.
AKS only: use az aks get-credentials -f .... to update kubectl configuration with credentials of your server. Refer MS documentation for details.
OpenShift only: Login with oc CLI tool. The easiest way to get login credentials for CLI login is to login to OpenShift console in your browser, click on your name at top right corner and copy login command. It will be looking like "oc login --token=5lD3gNwU..............". Run this command in your Linux shell and ensure that it works and you see tiller namespace in the list of available namespaces.
Helm Setup
For deployment of Ingress controller, stock template from project is used with some customization.
Clone this project with git:
git clone https://github.com/helm/charts.git
Under stable/nginx-express/templates/, edit controller-deployment.yaml and remove the following block lines 104 to 112: