From f5f57807194cdb315ed397ca43d4c93f212c919c Mon Sep 17 00:00:00 2001 From: Paul Johnston Date: Wed, 14 Oct 2020 10:08:06 -0700 Subject: [PATCH] chore: adding cni doc on how to find version --- docs/cni.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/cni.md b/docs/cni.md index a697994bd2..ce890b07cd 100644 --- a/docs/cni.md +++ b/docs/cni.md @@ -24,6 +24,18 @@ $ scripts/install-cni-plugin.sh [version] PS> scripts\install-cni-plugin.ps1 [version] ``` +## Version +To see the version of CNI running on your vm, run the following command: + +Linux +``` +/opt/cni/bin/azure-vnet --version +``` +Windows +``` +C:\k\azurecni\bin\azure-vnet.exe --version +``` + The plugin package comes with a simple network configuration file that works out of the box. See the [network configuration](https://github.com/Azure/azure-container-networking/blob/master/docs/cni.md#network-configuration) section below for customization options. ## Build