Skip to content

siyingjin/operator

 
 

Repository files navigation

Build Status Code Coverage

Openstorage Operator

Operator to manage storage cluster in Kubernetes

Development

Clone the operator repository

git clone git@github.com:libopenstorage/operator.git
cd operator

Build operator

make downloads all

Troubleshooting:

If you get errors like

/usr/local/go/src/math/erf.go:189:6: Erf defined in both Go and assembly
/usr/local/go/src/math/erf.go:274:6: Erfc defined in both Go and assembly

try to switch to go 1.19.

Make sure not only $GOPATH but also $GOPATH/bin are in your system $PATH, otherwise staticcheck would fail.

Build operator container

Set environment variables

export DOCKER_HUB_REPO=<eg. mybuildx>

Build container and push container

make container deploy

About

Storage operator for Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%