mirror of https://github.com/kubernetes/kops.git
Merge pull request #1973 from johanneswuerbach/fix-heapster
Allow node -> master on tcp 10255
This commit is contained in:
commit
e16c46230a
|
|
@ -18,11 +18,12 @@ package model
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"k8s.io/kops/pkg/apis/kops"
|
||||
"k8s.io/kops/upup/pkg/fi"
|
||||
"k8s.io/kops/upup/pkg/fi/cloudup/awstasks"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
type Protocol int
|
||||
|
|
@ -107,6 +108,9 @@ func (b *FirewallModelBuilder) applyNodeToMasterAllowSpecificPorts(c *fi.ModelBu
|
|||
// allow cadvisor
|
||||
tcpPorts = append(tcpPorts, 4194)
|
||||
|
||||
// kubelet read-only used by heapster
|
||||
tcpPorts = append(tcpPorts, 10255)
|
||||
|
||||
if b.Cluster.Spec.Networking != nil {
|
||||
if b.Cluster.Spec.Networking.Kopeio != nil {
|
||||
// VXLAN over UDP
|
||||
|
|
|
|||
Loading…
Reference in New Issue