The submariner operator installs the submariner components on a Kubernetes cluster.
It's available on OperatorHub:submariner.
Please refer the quickstart guides:
This release has the latest stable binaries: latest release
This release is constantly updated with the latest code, and might be unstable: devel release
The build environment uses Dapper, which requires a working Docker setup. You will also need GNU Make.
You can compile the operator image running:
make build-operator
The source code can be validated (golint, gofmt, unit testing) running:
make validate test
To build subctl locally
go mod vendor
make bin/subctl
You will be able to run subctl using ./bin/subctl from the submariner-operator directory.
To run end-to-end tests:
make e2e cleanup
You will need docker installed in your system, and at least 8GB of RAM. Run:
make deploy
For reference, here's a link to the script generating the scaffold code of the 0.0.1 version of the operator gen_subm_operator.sh.
The OperatorHub definitions can be found here: