Difference between revisions of "Ingress with the wildcard ssl certificate of Lets Encrypt on AKS"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
 +
== Prerequisite ==
 +
 +
1. Have an Azure DNS zone and delegate your domain into it.(refer to [https://docs.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns Host your domain in Azure DNS])
 +
 +
2. Have an AKS and note its Name('''$AKS_NAME''') and Recource Group('''$AKS_RESOURCE_GROUP''').
 +
 +
 +
 
== First thing on Azure ==
 
== First thing on Azure ==
  
 
1. Please refer to [https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart Quickstart for Bash in Azure Cloud Shell] and enter the azure bash.
 
1. Please refer to [https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart Quickstart for Bash in Azure Cloud Shell] and enter the azure bash.
  
2. Show you account information by typing "'''az account show'''" and note your <u>'''subscription id'''</u> and <u>'''tenant id'''</u> be showed as the following picture.
+
2. Show you account information by typing "'''az account show'''" and note your <u>'''subscription id'''</u>('''$SUBSCRIPTION_ID''') and <u>'''tenant id'''</u>('''$TENANT_ID''') be showed as the following picture.
  
 
       [[File:Aks wsc le ids.png|RTENOTITLE]]
 
       [[File:Aks wsc le ids.png|RTENOTITLE]]
  
4. Use "az aks get-credentials --resource-group &lt;your-resource-group-of-your-aks&gt; --name &lt;your-aks-name&gt;" to get the access right of '''kubectl'''
+
3. Use "az aks get-credentials --resource-group '''$AKS_RESOURCE_GROUP''' --name '''$AKS_NAME'''" to get the access right of '''kubectl'''.
 +
 
 +
4.

Revision as of 10:06, 11 July 2019

Prerequisite

1. Have an Azure DNS zone and delegate your domain into it.(refer to Host your domain in Azure DNS)

2. Have an AKS and note its Name($AKS_NAME) and Recource Group($AKS_RESOURCE_GROUP).


First thing on Azure

1. Please refer to Quickstart for Bash in Azure Cloud Shell and enter the azure bash.

2. Show you account information by typing "az account show" and note your subscription id($SUBSCRIPTION_ID) and tenant id($TENANT_ID) be showed as the following picture.

     RTENOTITLE

3. Use "az aks get-credentials --resource-group $AKS_RESOURCE_GROUP --name $AKS_NAME" to get the access right of kubectl.

4.