-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[HDInsight]Support compute isolation and return private ip address #16752
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
[HDInsight]Support compute isolation and return private ip address #16752
Conversation
|
@kairu-ms to help with this PR. |
| c.argument('enable_compute_isolation', options_list=['--enable-compute-isolation', '--compute-isolation'], | ||
| arg_group="Compute Isolation", arg_type=get_three_state_flag(), | ||
| help='Indicate whether enable compute isolation or not.') | ||
| c.argument('host_sku', arg_group='Compute Isolation', help="The dedicated host sku of compute isolation.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it an enum argument?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it an enum argument?
It is a string.
| @staticmethod | ||
| def _with_compute_isolation(): | ||
| return '--version 3.6 -l southcentralus ' \ | ||
| '--enable-compute-isolation --workernode-size Standard_E8S_V3 --headnode-size Standard_E8S_V3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you provide any test with --host-sku argument
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you provide any test with --host-sku argument
Sure, currently we do not need to provide this parameter, backend will provide a default value for this.
Anyway, I will update the related test case. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
…andatory for creating cluster
Description
The related swagger spec PR is Azure/azure-rest-api-specs#12612
Testing Guide
--enable-compute-isolationis the new added parameter when creating cluster, the above command will create a cluster with compute isolation feature.History Notes
[HDInsight]
az hdinsight create: Add a new parameter--enable-compute-isolationto support create cluster with compute isolation feature.This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.