Kubernetes Operator-sdk 1.2 no option to run locally

278 views Asked by At

I need to test the code I developed for the operator 0.17 to 1.2 operator-sdk kit. I am struggling to understand how can I run the operator locally before build the docker image and test the same?

Is there a way to test locally without building docker images?

1

There are 1 answers

2
asmacdo On

operator-sdk 1.0+ scaffolds a make target make run for running locally.

https://github.com/operator-framework/operator-sdk/blob/master/testdata/go/v3/memcached-operator/Makefile#L40