Creation of kubernetes cluster on Azure
aks-preview
extension.
tfy-datascience
but feel free to name it according to your preferred naming conventions. We are creating two tags team=datascience
and owner=truefoundry
tfy-aks-cluster
as the cluster name and node pool size will autoscale from 2 to 4 nodes. You need to pass the user assigned identity through the argument --assign-identity
kubeconfig
file for the AKS cluster
tfy-virtual-net
. Make sure to copy the unique ID of the Virtual network created. All the nodes will be part of this virtual network.
tfy-aks-cluster-with-vnet
with the above network. We are using the user assigned identity we created above along with the unique ID of the virtual network. We are again setting the node pool size to autoscale from 2 to 4 nodes.
kubeconfig
file for the AKS cluster
system
and user
. System is used to assign AKS related applications and workloads. User
is only used to assign workloads. Moreover each of these node pools can also contains instances which are of type on-demand
or spot
.