Nodes
A set of machine which are responsible for carrying out the work in a kube cluster
in AWS one can create a empty cluster and add nodes later. For Azure, there must be one default/system pool should be created along with the cluster. This is required for azure to run some Refer azure doc
System pool requirement
System node pools require a VM SKU of at least 2 vCPUs and 4GB memory
Must be Linux.
must contain at least one node.
add node using cli
request.json is a node specification file with the following field. refer example
You can add nodes to cluster using the following node specification
Field | Type | Description | Default |
---|---|---|---|
provider* | string | provder where the cluster is located. one of | |
region* | string | region where the cluster is hosted | |
accountName | string | Netbook connect account name. Optional in local run | |
nodeSpec.diskSize* | number | Disk size which is attached to node. azure requires min 30GB of disk size | |
nodeSpec.name* | string | nodename, refer provider guideline to name instances. | |
nodeSpec.instance | string | instance name as provider spec. Aws spec https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html Azure spec https://docs.microsoft.com/en-us/azure/virtual-machines/sizes | |
nodeSpec.machineType | string | This is a shirt size types for choosing instances. You can use this and ignore the instance field.
If instance field is specified, the priority is given to it.
Ex: | |
nodeSpec.count | number | Number of nodes in a pool | 1 |
nodeSpec.labels | map | set of pair of key values. The node will be tagged with this ex: { created_at: sometime, by: bob} | {} |
nodeSpec.gpuEnabled | bool | creates the aws node pool with gpu AMI, In azure, choosing gpou instance will suffice to create GPU node. | false |
nodeSpec.migProfile | enum/string | azure mig profile to be used along with GPU instance. Refer https://docs.microsoft.com/en-us/azure/aks/gpu-multi-instance
Values can be one of
{ | MIG1g |
nodeSpec.capacityType | enum/string | capacity type as per provider offer.
one of |
|
nodeSpec.spotInstances | list | when the capacityType is set | [] |
MachineType
Use generic machine type to pick instance from different provder, spawner provides the following t shirt size and its spec.
Type | Minimum CPU cores | Minimum RAM | GPU |
---|---|---|---|
| 1 | 1 GB | - |
| 8 | 16 GB | - |
| 32 | 64 GB | - |
| 64 | 128 GB | - |
| 4 | 16 GB | 1 NVIDIA Tesla T4 |
| 4 | 53 GB | 1 NVIDIA Tesla K80 |
| 12 | 112 GB | 2 NVIDIA Tesla K80 |
| 24 | 212 GB | 4 NVIDIA Tesla K80 |
| 4 | 61 GB | 1 NVIDIA Tesla V100 |
| 12 | 224 GB | 2 NVIDIA Tesla V100 |
| 24 | 448 GB | 4 NVIDIA Tesla V100 |
instances picked for provider as per above machine type
Type | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Last updated