mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
docs: Update CNI install detail to use 1.6.2 (#24976)
CNI had release problems which meant 1.6.1 got pulled and 1.6.2 is identical.
This commit is contained in:
@@ -4,14 +4,14 @@ that use network namespaces. Refer to the [CNI Plugins external
|
||||
guide](https://www.cni.dev/plugins/current/) for details on individual plugins.
|
||||
|
||||
The following series of commands determines your operating system architecture,
|
||||
downloads the [CNI 1.6.1
|
||||
release](https://github.com/containernetworking/plugins/releases/tag/v1.6.1),
|
||||
downloads the [CNI 1.6.2
|
||||
release](https://github.com/containernetworking/plugins/releases/tag/v1.6.2),
|
||||
and then extracts the CNI plugin binaries into the `/opt/cni/bin` directory.
|
||||
Update the `CNI_PLUGIN_VERSION` value to use a different release version.
|
||||
|
||||
```shell-session
|
||||
$ export ARCH_CNI=$( [ $(uname -m) = aarch64 ] && echo arm64 || echo amd64)
|
||||
$ export CNI_PLUGIN_VERSION=v1.6.1
|
||||
$ export CNI_PLUGIN_VERSION=v1.6.2
|
||||
$ curl -L -o cni-plugins.tgz "https://github.com/containernetworking/plugins/releases/download/${CNI_PLUGIN_VERSION}/cni-plugins-linux-${ARCH_CNI}-${CNI_PLUGIN_VERSION}".tgz && \
|
||||
sudo mkdir -p /opt/cni/bin && \
|
||||
sudo tar -C /opt/cni/bin -xzf cni-plugins.tgz
|
||||
|
||||
Reference in New Issue
Block a user