AKS(Azure Kubernetes Service) 참고 자료


# AKS Documentation
https://docs.microsoft.com/en-us/azure/aks/

# Cluster Creation Options
https://docs.microsoft.com/en-us/azure/aks/create-cluster

# Persistent Volumes on AKS
https://docs.microsoft.com/en-us/azure/aks/azure-disks-dynamic-pv

# Kubernetes Persistent Volumes
https://kubernetes.io/docs/concepts/storage/persistent-volumes/

# Use Virtual Kubelet with Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/virtual-kubelet

# Use an internal load balancer with Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/internal-lb

# Terraform Azure Provider
https://www.terraform.io/docs/providers/azurerm/

# Creating a Kubernetes Cluster with AKS and Terraform
https://www.hashicorp.com/blog/kubernetes-cluster-with-aks-and-terraform

# Monitor Azure Kubernetes Service (AKS) container health (preview)
https://docs.microsoft.com/en-us/azure/monitoring/monitoring-container-health

# Install applications with Helm in Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/kubernetes-helm

# Azure Dev Spaces
https://docs.microsoft.com/en-us/azure/dev-spaces/azure-dev-spaces

# Use Draft with Azure Kubernetes Service
https://docs.microsoft.com/en-us/azure/dev-spaces/azure-dev-spaces

Integrate with Azure-managed services using Open Service Broker for Azure (OSBA)
https://docs.microsoft.com/en-us/azure/aks/integrate-azure

Using OpenFaaS on AKS
https://docs.microsoft.com/en-us/azure/aks/openfaas

Using GPUs on AKS
https://docs.microsoft.com/en-us/azure/aks/gpu-cluster

Continuous deployment with Jenkins and Azure Kubernetes Service
https://docs.microsoft.com/en-us/azure/aks/jenkins-continuous-deployment

Tutorial: Deploy your ASP.NET Core App to Azure Kubernetes Service (AKS) with the Azure DevOps Project
https://docs.microsoft.com/en-us/azure/devops-project/azure-devops-project-aks

SSH into Azure Kubernetes Service (AKS) cluster nodes
https://docs.microsoft.com/en-us/azure/aks/aks-ssh

Get started with Visual Studio Kubernetes Tools
https://docs.microsoft.com/en-us/visualstudio/deployment/tutorial-kubernetes-tools

Frequently asked questions about Azure Kubernetes Service (AKS)
https://docs.microsoft.com/en-us/azure/aks/faq

Azure Kubernetes Service (AKS) pricing
https://azure.microsoft.com/en-us/pricing/details/kubernetes-service/

AZ CLI를 사용하여 VM 생성하기


az group list -o table
az account list-locations -o table
az group create -n linuxRG -l eastus

az network vnet list -o table
az network vnet create -n linuxVNet -g linuxRG

az vm list -o table
az vm image list -o table
az vm list-sizes -l eastus -o table

az vm create -n linux -g linuxRG -l eastus –vnet-name linuxVNet –image centos –admin-username adminuser –admin-password Peace91911234 –size Standard_DS2_v2 –no-wait

Windows 10에서 Linux 명령어 사용하기


Windows 10에서 Linux subsystem을 설치한 후에 Windows Store에서 원하는 Linux 배포판을 설치하여 사용할 수 있다.

이 때 그냥 powershell.exe나 cmd.exe에서 리눅스 명령어를 사용할 수 있다.

wslconfig /l
wsl whoami
wsl ls -l /
wsl ifconfig
wsl mkdir /yslee
wsl ls -ld /yslee
wsl cat /etc/passwd
wsl tail -n 1 /etc/passwd

Windows 2016에서 docker 설치하기


Install-Module -Name DockerMsftProvider -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
Restart-Computer -Force

<docker 사용하기>
docker version
docker pull microsoft/nanoserver
docker images
docker run -it –name nanocon1 microsoft/nanoserver powershell
hostname
ping http://www.google.com
exit
docker ps -a
docker rm $(docker ps -aq) -f
docker ps -a