Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
06be9d78
Unverified
Commit
06be9d78
authored
Nov 29, 2017
by
Matthew Fisher
Committed by
GitHub
Nov 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3129 from thomastaylor312/fix/tiller_connections
Fix tiller idle connections
parents
e93b7716
44e5cecd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tiller.go
cmd/tiller/tiller.go
+6
-0
No files found.
cmd/tiller/tiller.go
View file @
06be9d78
...
...
@@ -28,10 +28,12 @@ import (
"path/filepath"
"strconv"
"strings"
"time"
goprom
"github.com/grpc-ecosystem/go-grpc-prometheus"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/keepalive"
"k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/proto/hapi/services"
...
...
@@ -155,6 +157,10 @@ func start() {
logger
.
Fatalf
(
"Could not create server TLS configuration: %v"
,
err
)
}
opts
=
append
(
opts
,
grpc
.
Creds
(
credentials
.
NewTLS
(
cfg
)))
opts
=
append
(
opts
,
grpc
.
KeepaliveParams
(
keepalive
.
ServerParameters
{
MaxConnectionIdle
:
10
*
time
.
Minute
,
// If needed, we can configure the max connection age
}))
}
rootServer
=
tiller
.
NewServer
(
opts
...
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment