Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.5 KB

developer-guide.md

File metadata and controls

34 lines (24 loc) · 1.5 KB

Design

The system is implemented as an k8s operator using the operator-sdk but is deployed as a DaemonSet instead of Deployment with filtering only events for the DaemonSet pod node.

There are two controllers one for Node and the other for the CRD NodeNeworkState.

Components

Development

Development guide is a go-to reference point for development helper commands, building, testing, container images and local cluster.

Releasing

To cut a release, push images to quay and publish it on GitHub the command make release do all this automatically, the version is at version/version.go and the description at version/description.

So the step would be:

  • Change version/version.go and versions/description
  • Create a PR to review it
  • Merge it to master
  • Call make release from master

The environment variable GITHUB_TOKEN is needed to publish at GitHub and it must point to a token generated by github to access projects.