De Wiki Clusterlab.com.br
Ir para navegação
Ir para pesquisar
Create a Cluster
function CREATE_AKS() {
az aks create \
-n "" \
-g "" \
-l eastus2 \
--network-plugin azure \
--node-count 1 \
--node-vm-size Standard_B4ms \
--node-osdisk-size 127 \
--nodepool-name "default" \
--tags "" \
--vnet-subnet-id "" \
--service-principal "" \
--client-secret "" \
--enable-vmss \
--enable-cluster-autoscaler \
--min-count 2 \
--max-count 10 \
--node-count 3
# --network-policy calico
}
Create a node pool
function CREATE_NP() {
az aks nodepool add \
--resource-group "" \
--cluster-name "" \
--name "" \
--node-vm-size Standard_B4ms \
--node-osdisk-size 127 \
--node-count 2 \
--vnet-subnet-id "" \
--max-count 10 \
--min-count 2 \
--enable-cluster-autoscaler
}