- service principal
- resource groupname
- subnet id of subnet where will be AKS
command:
| # connectivity subscription | |
| az group create --name subscription-connectivity --location eastus | |
| az network private-dns zone create -g subscription-connectivity \ | |
| -n privatelink.eastus.azmk8s.io | |
| AKS_PRIVATE_DNS_ZONE_ID=$(az network private-dns zone show -g subscription-connectivity \ | |
| -n privatelink.eastus.azmk8s.io --query id -o tsv) |
[ToC]
本練習內容用來架設一評等網站,網站由多個元件所組成。 包含一個 Web 前端、一個儲存所擷取資料的文件資料庫,以及一個 RESTful API,並使用 Kubernetes 作為其計算平台。在本課程中,將會逐步執行工作,將多容器應用程式部署至 Azure Kubernetes Service (AKS) 上的 Kubernetes
|Region Name| Region| Endpoint| Protocol|
| # Rename Windows PC via PowerShell and WMI | |
| # http://social.technet.microsoft.com/wiki/contents/articles/7824.set-computer-name-using-powershell.aspx | |
| # https://technet.microsoft.com/en-us/library/hh849792(v=wps.620).aspx | |
| $ComputerName = Get-WmiObject Win32_ComputerSystem | |
| $ComputerName.Rename($name) | |
| Restart-Computer |
Kubernetes is an open source system developed by Google for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. Kubernetes helps you make sure those containerized applications run where and when you want, and helps them find the resources and tools they need to work.
Kubernetes was released in February 2015 with the following goals and considerations:
| # run as administrator | |
| # reboot afterwards | |
| Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0 | |
| Enable-NetFirewallRule -DisplayGroup "Remote Desktop" | |
| Set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 1 |