You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2022/09/06 13:09:22 UTC
[incubator-datalab] 04/06: [DATALAB-1408]: added zookeeper nodes
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-1408
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 3a1f6328059a93f684da71bdc86b24bb85b8adc6
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Sep 6 14:31:12 2022 +0300
[DATALAB-1408]: added zookeeper nodes
---
.../scripts/azure/dataengine-service_create.py | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_create.py b/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_create.py
index d31b001a1..741424eed 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_create.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/dataengine-service_create.py
@@ -118,6 +118,25 @@ def create_cluster_parameters(location, tags, cluster_version, cluster_login_use
id=vpc_id,
subnet=subnet
)
+ ),
+ Role(
+ name="zookeepernode",
+ target_instance_count=3,
+ hardware_profile=HardwareProfile(vm_size=Small),
+ os_profile=OsProfile(
+ linux_operating_system_profile=LinuxOperatingSystemProfile(
+ username=cluster_login_username,
+ ssh_profile={
+ "publicKeys": [
+ {"certificateData": public_key}
+ ]
+ }
+ )
+ ),
+ virtual_network_profile=VirtualNetworkProfile(
+ id=vpc_id,
+ subnet=subnet
+ )
)
]
),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org