File tree Expand file tree Collapse file tree
samples/features/azure-arc/deployment/kubeadm/ubuntu-single-node-vm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/bash
22
33# Get controller username and password as input. It is used as default for the controller.
44#
@@ -334,12 +334,8 @@ echo "Starting to deploy azdata cluster..."
334334# Command to create cluster for single node cluster.
335335#
336336azdata arc dc config init -s azure-arc-kubeadm-private-preview -t azure-arc-custom --force
337- azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values ' $.spec.dataController.displayName=$ARC_DC_NAME'
338- azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values ' $.spec.dataController.subscription=$ARC_DC_SUBSCRIPTION'
339- azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values ' $.spec.dataController.resourceGroup=$ARC_DC_RG'
340- azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values ' $.spec.dataController.location=$ARC_DC_REGION'
341337
342- azdata arc dc create -n $CLUSTER_NAME -c azure-arc-custom --accept-eula $ACCEPT_EULA
338+ azdata arc dc create -n $CLUSTER_NAME -c azure-arc-custom --accept-eula $ACCEPT_EULA --namespace $ARC_DC_NAME --location $ARC_DC_REGION --resource-group $ARC_DC_RG --subscription $ARC_DC_SUBSCRIPTION
343339echo " Azure Arc Data Controller cluster created."
344340
345341# Setting context to cluster.
You can’t perform that action at this time.
0 commit comments