Skip to content

Commit

Permalink
add missing grpc port
Browse files Browse the repository at this point in the history
Signed-off-by: yeya24 <yb532204897@gmail.com>
  • Loading branch information
yeya24 committed Sep 25, 2019
1 parent 5fbebae commit 66b6ba8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/deployment/all-in-one.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ func (a *AllInOne) Get() *appsv1.Deployment {
ContainerPort: adminPort,
Name: "admin-http",
},
{
ContainerPort: 14250,
Name: "grpc",
},
},
ReadinessProbe: &corev1.Probe{
Handler: corev1.Handler{
Expand Down
4 changes: 4 additions & 0 deletions pkg/deployment/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ func (c *Collector) Get() *appsv1.Deployment {
ContainerPort: adminPort,
Name: "admin-http",
},
{
ContainerPort: 14250,
Name: "grpc",
},
},
ReadinessProbe: &corev1.Probe{
Handler: corev1.Handler{
Expand Down

0 comments on commit 66b6ba8

Please sign in to comment.