This is not the latest version of Linkerd!
This documentation is for an older version of Linkerd. You may want the Linkerd 2.12 (current) documentation instead.

install-cni

Output Kubernetes configs to install Linkerd CNI.

This command installs a DaemonSet into the Linkerd control plane. The DaemonSet copies the necessary linkerd-cni plugin binaries and configs onto the host. It assumes that the ‘linkerd install’ command will be executed with the ‘–linkerd-cni-enabled’ flag. This command needs to be executed before the ‘linkerd install –linkerd-cni-enabled’ command.

Flags

FlagUsage
--admin-portProxy port to serve metrics on
--cni-imageImage for the cni-plugin
--cni-log-levelLog level for the cni-plugin
--control-portProxy port to use for control
--dest-cni-bin-dirDirectory on the host where the CNI plugin binaries reside
--dest-cni-net-dirDirectory on the host where the CNI configuration will be placed
--inbound-portProxy port to use for inbound traffic
--linkerd-version
-v
Tag to be used for Linkerd images
--outbound-portProxy port to use for outbound traffic
--proxy-uidRun the proxy under this user ID
--redirect-portsPorts to redirect to proxy, if no port is specified then ALL ports are redirected
--registryDocker registry to pull images from
--skip-inbound-portsPorts and/or port ranges (inclusive) that should skip the proxy and send directly to the application
--skip-outbound-portsOutbound ports and/or port ranges (inclusive) that should skip the proxy
--use-wait-flagConfigures the CNI plugin to use the “-w” flag for the iptables command. (default false)