@@ -28,5 +28,4 @@ func main() {
fmt.Printf("Starting server at %s:%d...\n", c.Host, c.Port)
server.Start()
-
}
@@ -18,8 +18,13 @@ Log:
Level: error
#rpc service
+#OrganizationRpcConf:
+# Endpoints:
+# - 127.0.0.1:1117
+# NonBlock: true
+# Timeout: 0
+
OrganizationRpcConf:
- Endpoints:
- - 127.0.0.1:1117
- NonBlock: true
- Timeout: 0
+ Timeout: 50000
+ Target: k8s://gt-datacenter/organization-rpc-svc:1117 #goctl kube 默认生成的k8s yaml的serviceName: {rpc中定义的name}-svc