NodeSetup Class

Node setup settings.

Inheritance
NodeSetup

Constructor

NodeSetup(*, setup_task: Optional[azure.mgmt.batchai.models._models_py3.SetupTask] = None, mount_volumes: Optional[azure.mgmt.batchai.models._models_py3.MountVolumes] = None, performance_counters_settings: Optional[azure.mgmt.batchai.models._models_py3.PerformanceCountersSettings] = None, **kwargs)

Parameters

setup_task
<xref:batch_ai.models.SetupTask>
Required

Setup task to run on cluster nodes when nodes got created or rebooted. The setup task code needs to be idempotent. Generally the setup task is used to download static data that is required for all jobs that run on the cluster VMs and/or to download/install software.

mount_volumes
<xref:batch_ai.models.MountVolumes>
Required

Mount volumes to be available to setup task and all jobs executing on the cluster. The volumes will be mounted at location specified by $AZ_BATCHAI_MOUNT_ROOT environment variable.

performance_counters_settings
<xref:batch_ai.models.PerformanceCountersSettings>
Required

Settings for performance counters collecting and uploading.