Releases: hotosm/ScaleODM
Releases · hotosm/ScaleODM
0.5.1
- Add option to select between on-demand or spot nodes.
See https://github.com/hotosm/ScaleODM/releases/tag/0.5.0 for full deployment details.
Full Changelog: 0.5.0...0.5.1
0.5.0
Helm Chart
Example usage:
helm install scaleodm oci://ghcr.io/hotosm/charts/scaleodm \
--namespace scaleodm --create-namespace \
--version 0.5.0 \
--set database.external.enabled=true \
--set s3.external.enabled=true \
--set secrets.runtime.name="scaleodm-secrets" \
--set argo.enabled=trueExample pyodm Usage
import json
from pyodm import Node
from pyodm.api import Task
node = Node("scaleodm.scaleodm.svc.cluster.local", 31100)
# Create task - use Node.post() to send an S3-backed task request
result = node.post("/task/new", data={
"name": "my-project",
"readS3Path": "s3://mybucket/drone-images/",
"writeS3Path": "s3://mybucket/drone-images-output/",
"processingMode": "standard",
"options": json.dumps([
{"name": "fast-orthophoto", "value": True},
{"name": "dsm", "value": True},
]),
})
uuid = result.json()["uuid"]
print(f"Task created: {uuid}")
# Wrap in a pyodm Task for monitoring - all standard methods work
task = Task(node, uuid)
# Poll status
info = task.info()
print(f"Status: {info.status}") # TaskStatus enum
print(f"Progress: {info.progress}%")
# Block until complete
task.wait_for_completion()
# Download results (follows redirect to pre-signed S3 URL)
task.download_assets("/tmp/results/")What Changed
- More resilient reconciliation of task statuses from argo k8s api.
Full Changelog: 0.4.10...0.5.0
0.4.10
- Add reconciler module to fix out of sync job statuses.
Full Changelog: 0.4.9...0.4.10
0.4.9
- Correctly set / reconcile processing state on home page of UI.
Full Changelog: 0.4.8...0.4.9
0.4.8
- Tweak CPUs requested to better reflect reality of what is needed for an ODM job.
Full Changelog: 0.4.7...0.4.8
0.4.7
- Add 1.5x RAM multiplier for DSM flag jobs.
Full Changelog: 0.4.6...0.4.7
0.4.6
- Fixes to UI for filter apply & current task statuses.
Full Changelog: 0.4.5...0.4.6
0.4.5
- Allow deploying a storageclass for gp3 with chart.
Full Changelog: 0.4.4...0.4.5
0.4.4
- Service account in chart needed extra permissions to update workflow status.
Full Changelog: 0.4.3...0.4.4
0.4.3
- Ensure the UI has correctly reconciled task states.
- Ensure odm/** assets are ignored from image count + processing.
- See previous release for detailed run notes.
Full Changelog: 0.4.2...0.4.3