quickstart#
Quickstart cluster management for NMP.
This module provides a high-level API for managing NMP quickstart clusters using the Python Docker SDK.
Examples
Quick Start:
from nemo_platform_ext.quickstart import QuickstartCluster
cluster = QuickstartCluster()
cluster.start()
print(cluster.status())
cluster.stop()
Configuration:
from nemo_platform_ext.quickstart import QuickstartConfig
config = QuickstartConfig.load()
config.host_port = 9090
config.save()
Pre-flight Checks:
from nemo_platform_ext.quickstart import QuickstartCluster, CheckStatus
cluster = QuickstartCluster()
results = cluster.preflight()
for result in results:
if result.status == CheckStatus.FAIL:
print(f"FAIL: {result.name}: {result.message}")