-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 183: Prefixing service ports with tcp to comply with istio stan…
…dards (#184) * prefixing service ports with tcp to comply with istio standards * Revert "Issue 91: PrestopHook configured for zookeeper cluster always fails (#186)" This reverts commit d502a60. * Revert "Revert "Issue 91: PrestopHook configured for zookeeper cluster always fails (#186)"" This reverts commit 0fd66ea.
- Loading branch information
1 parent
ef64996
commit 75421d6
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,7 +163,7 @@ func makeZkPodSpec(z *v1beta1.ZookeeperCluster) v1.PodSpec { | |
func MakeClientService(z *v1beta1.ZookeeperCluster) *v1.Service { | ||
ports := z.ZookeeperPorts() | ||
svcPorts := []v1.ServicePort{ | ||
{Name: "client", Port: ports.Client}, | ||
{Name: "tcp-client", Port: ports.Client}, | ||
} | ||
return makeService(z.GetClientServiceName(), svcPorts, true, z) | ||
} | ||
|
@@ -193,9 +193,9 @@ func MakeConfigMap(z *v1beta1.ZookeeperCluster) *v1.ConfigMap { | |
func MakeHeadlessService(z *v1beta1.ZookeeperCluster) *v1.Service { | ||
ports := z.ZookeeperPorts() | ||
svcPorts := []v1.ServicePort{ | ||
{Name: "quorum", Port: ports.Quorum}, | ||
{Name: "leader-election", Port: ports.Leader}, | ||
{Name: "metrics", Port: ports.Metrics}, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
whitleykeith
Author
Contributor
|
||
{Name: "tcp-client", Port: ports.Client}, | ||
{Name: "tcp-quorum", Port: ports.Quorum}, | ||
{Name: "tcp-leader-election", Port: ports.Leader}, | ||
} | ||
return makeService(headlessSvcName(z), svcPorts, false, z) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@whitleykeith this patch inadvertently removed the newly added monitoring
metrics
port. Can we add it back with thetcp-
prefix?