Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 974 Bytes

windows-virtual-node.md

File metadata and controls

25 lines (20 loc) · 974 Bytes

Install an ACI plugin for running windows ACI instances

ACI provides limited supports for running windows containers. The windows ACI instances do not support VNET, hence the configuration is simpler.

Prepare the env variables

export RELEASE_TAG=1.5.1  # or the latest released version
export RELEASE_NAME=virtual-kubelet-azure-aci
export VK_RELEASE=$RELEASE_NAME-$RELEASE_TAG
export NODE_NAME=virtual-kubelet
export CHART_URL=https://github.com/virtual-kubelet/azure-aci/raw/gh-pages/charts/$VK_RELEASE.tgz
export MASTER_URI="$(kubectl cluster-info | awk '/Kubernetes control plane/{print $7}' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g")"

Install the helm chart

If you are using an AKS cluster, run the following command:

helm install "$RELEASE_NAME" "$CHART_URL" \
        --set nodeOsType=Windows \
        --set providers.azure.targetAKS=true \
        --set providers.azure.masterUri=$MASTER_URI \
        --set nodeName="${NODE_NAME}-win"