Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Feature: managed storage for clusters and jobs#443

Merged
jafreck merged 6 commits intoAzure:masterfrom
jafreck:feature/managed-storage
Mar 20, 2018
Merged

Feature: managed storage for clusters and jobs#443
jafreck merged 6 commits intoAzure:masterfrom
jafreck:feature/managed-storage

Conversation

@jafreck
Copy link
Member

@jafreck jafreck commented Mar 16, 2018

Fix #419

TODO:

  • Add --keep-logs flag to prevent storage deletion
  • Add docs for storage lifetime, and --keep-logs flag

aztk/client.py Outdated
self.batch_client.pool.delete(pool_id)

cluster_data = self._get_cluster_data(pool_id)
cluster_data.delete_container(pool_id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this was a super simple change because of the cluster_data refactor

cluster_id = args.cluster_id

if not args.force:
log.warn("All logs persisted for this cluster will be deleted.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hhm, that does seem like a good idea

@jafreck jafreck added this to the v0.7.0 milestone Mar 16, 2018
@jafreck jafreck merged commit 8aa1843 into Azure:master Mar 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants