A repo with scripts to deploy a AKS cluster with ingress using TLS with auto cert renew.
Before running the script, I suggest you check the parameters and changes values for those you want.
With a powershell console place inside this repo. Execute
.\azure-aks-cluster-deployment.ps1
You will be ask a few questions along the process and the execution will take something like 4 minutes.
Once your done. You can cleanup resource created be the script.
.\cleanup-resources.ps1
The AKS Cluster and the resource group are not automaticly deleted. You will need to delete them manually if you don't want to keep them.
If for some reson there is an error during the execution of the script cause by extarnal factor. After fixing the issue, you can restart the script and neccessary check are going to be verify the not duplicate or create other new resource.
- Chocolaty
- Kubectl
- Azure Cli
- Powershell
- Windows
Get-Help .\azure-aks-cluster-deployment.ps1
.\azure-aks-cluster-deployment.ps1 -resourceGroup fhir-cluster -location canadaeast -aksClusterName fhir-aks-api-0717 -namespace fhir-space -dnsLabel fhir-aks-api-0717-dns -appScriptPath .\myhl7\application-deployment.ps1 -useLetsEncryptProd true
For an update, you can add few parameter to skip optionnal step when updating. Do not use these parameter at the initial creation of a cluster.
-skipCertSleep true -skipDependenciesInstall true are added at the end
.\azure-aks-cluster-deployment.ps1 -resourceGroup fhir-cluster -location canadaeast -aksClusterName fhir-aks-api-0717 -namespace fhir-space -dnsLabel fhir-aks-api-0717-dns -appScriptPath .\myhl7\application-deployment.ps1 -useLetsEncryptProd true -skipCertSleep true -skipDependenciesInstall true
List azure location
az account list-locations
Ingress-nginx