我是容易网络接口(CNI)的新手并尝试运行azure-vnet CNI插件。我在Azure上运行的Linux机器上手动安装了该插件。但是当我尝试启动插件时,我一直在运行以下错误:
CNI_COMMAND env variable missing
{
“code”: 100,
“msg”: “required env variables missing”
}
是否在某处列出了尝试azure-vnet CNI的步骤或示例? https://github.com/Azure/azure-container-networking
登录/var/log/azure-vnet.log
2017/11/17 02:28:26 [cni-net] Running on Linux version 3.10.0-693.el7.x86_64
(mockbuild@x86-038.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat
4.8.5-16) (GCC) ) #1 SMP Thu Jul 6 19:56:57 EDT 2017
2017/11/17 02:28:26 [net] Network interface: {Index:1 MTU:65536 Name:lo HardwareAddr:
Flags:up|loopback} with IP addresses: [127.0.0.1/8 ::1/128]
2017/11/17 02:28:26 [net] Network interface: {Index:2 MTU:1500 Name:eth0 HardwareAddr:
00:0d:3a:31:72:f4
Flags:up|broadcast|multicast} with IP addresses: [14.0.1.7/24 fe80::20d:3aff:fe31:72f4/64]
2017/11/17 02:28:26 [net] Restored state, &{Version:v0.91 TimeStamp:0001-01-01
00:00:00 +0000 UTC ExternalInterfaces:map[] store:0xc420062d80 Mutex:{state:0 sema:0}}
2017/11/17 02:28:26 [cni-net] Plugin started.
2017/11/17 02:28:26 [cni-net] Plugin stopped.