From 1431ad46fdd237d2441d2104b70f7d2014aeb2be Mon Sep 17 00:00:00 2001 From: Eddie Villalba Date: Thu, 8 Mar 2018 16:30:10 -0600 Subject: [PATCH] Updated ACI Documentation (#109) * Updated READ.me Changed the instructions to use the createCertAndKey.sh file so the execute permissions are applied and added the / to run the shell script. Also commented out the ACI with DNS label instruction until a new version of virtual-kubelet is released that allows this feature. * Update README.md had to additional . in createCertAndKey.sh run command to allow for exported environment variables to pass into existing shell --- providers/azure/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/providers/azure/README.md b/providers/azure/README.md index b3e4142a8..07a954cd5 100644 --- a/providers/azure/README.md +++ b/providers/azure/README.md @@ -168,7 +168,8 @@ NODE_NAME=virtual-kubelet CHART_URL=https://github.com/virtual-kubelet/virtual-kubelet/raw/master/charts/$VK_RELEASE.tgz curl https://raw.githubusercontent.com/virtual-kubelet/virtual-kubelet/master/scripts/createCertAndKey.sh > createCertAndKey.sh -. createCertAndKey.sh +chmod +x createCertAndKey.sh +. ./createCertAndKey.sh helm install "$CHART_URL" --name "$RELEASE_NAME" \ --set env.azureClientId="$AZURE_CLIENT_ID",env.azureClientKey="$AZURE_CLIENT_SECRET",env.azureTenantId="$AZURE_TENANT_ID",env.azureSubscriptionId="$AZURE_SUBSCRIPTION_ID",env.aciResourceGroup="$AZURE_RG",env.nodeName="$NODE_NAME",env.nodeOsType=,env.apiserverCert=$cert,env.apiserverKey=$key @@ -283,7 +284,7 @@ Name ResourceGroup ProvisioningState Image ------------------------------- --------------- ------------------- ------------------------ --------------- --------------- -------- ---------- helloworld-2559879000-8vmjw myResourceGroup Succeeded microsoft/aci-helloworld 52.179.3.180:80 1.0 core/1.5 gb Linux eastus ``` - + ## Remove the Virtual Kubelet You can remove your Virtual Kubelet node by deleting the Helm deployment. Run the following command: