First install chocolately in admin command prompt

https://docs.helm.sh/using_helm

 

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install kubernetes-helm

#if you already have RBAC k8s cluster




kubectl create serviceaccount --namespacekube-system default

kubectl create clusterrolebinding kubernetes-default --clusterrole=cluster-admin --serviceaccount=kube-system:default 
#install tiller
helm init --canary-image <code>--service-account default </code>
helm repo update

#if you screw it up and want to fix it, you can either Delete or Upgrade
kubectl delete deployment tiller-deploy --namespace kube-system
helm init --upgrade --service-account default



kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"default"}}}}'

kubectl create clusterrolebinding kubernetes-default --clusterrole=cluster-admin --serviceaccount=kube-system:default 

create a file named hello-world-ingress.yaml and copy in the following example YAML: apiVersion: extensions/v1beta1 kind: Ingress metadata: name: hello-world-ingress annotations: kubernetes.io/ingress.class: nginx certmanager.k8s.io/cluster-issuer: letsencrypt-staging nginx.ingress.kubernetes.io/rewrite-target: / spec: tls: - hosts: - tanchunsiong.com secretName: tls-secret rules: - host: tanchunsiong.com http: paths: - path: / backend: serviceName: projectnami servicePort: 80