Skip to content

Latest commit

 

History

History
83 lines (50 loc) · 2.22 KB

README.md

File metadata and controls

83 lines (50 loc) · 2.22 KB

Submariner Operator

The submariner operator installs the submariner components on a Kubernetes cluster.

It's available on OperatorHub:submariner.

Quickstart

Please refer the quickstart guides:

Subctl Releases

Latest Stable Release

This release has the latest stable binaries: latest release

Latest Merged Release

This release is constantly updated with the latest code, and might be unstable: devel release

Development

Prerequisites

The build environment uses Dapper, which requires a working Docker setup. You will also need GNU Make.

Build Operator

You can compile the operator image running:

make build-operator

The source code can be validated (golint, gofmt, unit testing) running:

make validate test

Build Subctl

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.

Testing

To run end-to-end tests:

make e2e cleanup

Setup development environment

You will need docker installed in your system, and at least 8GB of RAM. Run:

make deploy

Reference

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.

Updating OperatorHub

The OperatorHub definitions can be found here: