Skip to content

Commit

Permalink
add missing grpc port (#680)
Browse files Browse the repository at this point in the history
Signed-off-by: yeya24 <yb532204897@gmail.com>
  • Loading branch information
yeya24 authored and objectiser committed Sep 30, 2019
1 parent daf2145 commit bc81d4a
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 bc81d4a

Please sign in to comment.