Categorygithub.com/tliron/multusctl
repository
0.1.6
Repository: https://github.com/tliron/multusctl.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

multusctl

License Latest Release Go Report Card

CLI client for Multus CNI.

This client can be used to manage network attachment definitions in a more user-friendly way than working with kubectl directly. E.g.:

multusctl create myattachment --file my-cni-config.yaml
multusctl get myattachment

Some quality-of-life features:

  • CNI configs are normally in JSON, but this tool allows you to use both JSON and YAML notations.
  • multusctl list it will show you not only the network attachment definitions but also which pods are attached to them.
  • Via multusctl install and multusctl uninstall this utility is all you need to start using Multus.

You can also use this tool as a kubectl plugin. Just rename the multusctl executable to, say, kubectl-multus, and then you can do this:

kubectl multus create myattachment --file my-cni-config.yaml

Also see this issue.