Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要测试我为 operator 0.17 到 1.2 operator-sdk 套件开发的代码。我很难理解如何在构建 docker 映像之前在本地运行操作员并对其进行测试?
有没有办法在不构建 docker 镜像的情况下进行本地测试?
operator-sdk 1.0+make run为本地运行搭建了一个 make 目标。
make run
https://github.com/operator-framework/operator-sdk/blob/master/testdata/go/v3/memcached-operator/Makefile#L40