The submariner operator installs the submariner components on a Kubernetes cluster.
It's available on OperatorHub:submariner.
Please refer the quickstart guides:
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: