mirror of
https://github.com/go-micro/go-micro.git
synced 2025-06-18 22:17:44 +02:00
add k8s service ip to metadata (#1367)
* add k8s service ip to metadata * go fmt * use same port as container
This commit is contained in:
@ -217,7 +217,7 @@ func NewService(name, version, typ string) *Service {
|
||||
Type: "ClusterIP",
|
||||
Selector: Labels,
|
||||
Ports: []ServicePort{{
|
||||
"service-port", 9090, "",
|
||||
"service-port", 8080, "",
|
||||
}},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user