multusctl

module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: Apache-2.0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL