Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: create pool with mgmt batch client #10

Merged
merged 13 commits into from
Jul 12, 2024
Merged

fix: create pool with mgmt batch client #10

merged 13 commits into from
Jul 12, 2024

Conversation

jakevc
Copy link
Collaborator

@jakevc jakevc commented Dec 14, 2023

updates batch pool creation to use azure.mgmt.batch.Pool.create instead of azure.batch.Pool.add. This is allows the managed identity and autoscale settings to be configured at pool creation instead of being updated after the fact.

I found that enabling the managed identity after the fact using the azure.batch.Pool API does not work as expected. The pool resource must be created with the managed identity.

fixes #7

@jakevc jakevc marked this pull request as draft December 15, 2023 05:17
@jakevc jakevc marked this pull request as ready for review July 12, 2024 05:15
@jakevc jakevc merged commit 7bddf40 into main Jul 12, 2024
1 check passed
@jakevc jakevc deleted the fix/create-pool branch July 12, 2024 18:18
jakevc pushed a commit that referenced this pull request Jul 20, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.0](v0.1.3...v0.2.0)
(2024-07-20)


### Features

* keep pool option
([#22](#22))
([106b48a](106b48a))


### Bug Fixes

* create pool with mgmt batch client
([#10](#10))
([7bddf40](7bddf40)),
closes
[#7](#7)
* update snakemake-storage-plugin-s3 requirement from 0.2.8 to 0.2.10
([#17](#17))
([88625d6](88625d6))
* update to latest snakemake-interface-executor-plugins
([#18](#18))
([5b145a9](5b145a9))


### Documentation

* update usage
([#23](#23))
([613ec1a](613ec1a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor to use mgmt batch client for creation to enable managed identity at pool creation
1 participant