az login
az aks get-credentials --resource-group ${resource_group_name} --name ${aks_name}
Default
)kubectl get namespaces
kubectl config set-context --current --namespace ${your_name_space}
kubectl get services
kubectl get pods
kubectl logs -f ${pod_name}
kubectl exec -it ${pod_name} bash
命名空間內的資源皆會被刪除, 請勿刪除 kube
開頭之命名空間, 以免造成AKS毀損
kubectl delete namespace ${namespace}
kubectl delete pod ${pod_name}