network-operator

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

README

Network Operator

Continuous Integration Go Report Card

Quick start

  1. Run make install
  2. Run make run(run the controller locally) or make deploy(run the controller as a deployment)
  3. Apply CRs, there are some CRs' examples under examples

NOTE: If you execute make deploy in a multi-node cluster environment, you need to upload the image to the image repository.

NOTE: In most cases you needn't to apply SwitchPort manually, Switch controller will create it.

Supported backend

Device Provider Which backend it uses
Switch AnsibleSwitch ansible

Notes

  1. Run ./tools/install_kubebuilder.sh to install kubebuilder
  2. Run kubebuilder create api --group metal3.io --version v1alpha1 --kind <ResourceKind> add API

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the metal3.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=metal3.io
Package v1alpha1 contains API Schema definitions for the metal3.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=metal3.io
pkg
provider
Package provider convert the content of ProviderSwitch to configuration
Package provider convert the content of ProviderSwitch to configuration

Jump to

Keyboard shortcuts

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