Before run test code, please create a namespace test 运行测试代码之前, 先创建一个 namespace/test. kubectl create namespace test cd deployment go run .