mirror of https://github.com/kubernetes/kops.git
Sort wellknown ports and add missing ports to table
This commit is contained in:
parent
a310282f07
commit
e8134b706c
|
@ -13,7 +13,11 @@ See also pkg/wellknownports/wellknownports.go
|
||||||
| 179 | Calico |
|
| 179 | Calico |
|
||||||
| 2380 | etcd main peering |
|
| 2380 | etcd main peering |
|
||||||
| 2381 | etcd events peering |
|
| 2381 | etcd events peering |
|
||||||
| 3988 | dns gossip - protokube - memberlist |
|
| 3988 | kops controller serving port |
|
||||||
|
| 3989 | node local dns health check |
|
||||||
|
| 3990 | Kube API health check |
|
||||||
|
| 3991 | etcd-manager - cilium - grpc |
|
||||||
|
| 3992 | etcd-manager - cilium - quarantined |
|
||||||
| 3993 | dns gossip - dns-controller - memberlist |
|
| 3993 | dns gossip - dns-controller - memberlist |
|
||||||
| 3994 | etcd-manager - main - quarantined |
|
| 3994 | etcd-manager - main - quarantined |
|
||||||
| 3995 | etcd-manager - events - quarantined |
|
| 3995 | etcd-manager - events - quarantined |
|
||||||
|
@ -21,6 +25,10 @@ See also pkg/wellknownports/wellknownports.go
|
||||||
| 3997 | etcd-manager - events - grpc |
|
| 3997 | etcd-manager - events - grpc |
|
||||||
| 3998 | dns gossip - protokube - weave mesh |
|
| 3998 | dns gossip - protokube - weave mesh |
|
||||||
| 3999 | dns gossip - dns-controller - weave mesh |
|
| 3999 | dns gossip - dns-controller - weave mesh |
|
||||||
|
| 4000 | protokube gossip member list |
|
||||||
| 4001 | etcd main client |
|
| 4001 | etcd main client |
|
||||||
| 4002 | etcd events client |
|
| 4002 | etcd events client |
|
||||||
| 4789 | VXLAN |
|
| 4789 | VXLAN |
|
||||||
|
| 6942 | Cilium operator prometheus port |
|
||||||
|
| 9090 | Cilium prometheus port |
|
||||||
|
| 9091 | Cilium hubble prometheus port |
|
||||||
|
|
|
@ -17,6 +17,21 @@ limitations under the License.
|
||||||
package wellknownports
|
package wellknownports
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// KopsControllerPort is the port where kops-controller listens.
|
||||||
|
KopsControllerPort = 3988
|
||||||
|
|
||||||
|
// NodeLocalDNSHealthCheck is the port where the node-local-dns health check listens.
|
||||||
|
NodeLocalDNSHealthCheck = 3989
|
||||||
|
|
||||||
|
// KubeAPIServerHealthCheck is the port where kube-apiserver-healthcheck listens.
|
||||||
|
KubeAPIServerHealthCheck = 3990
|
||||||
|
|
||||||
|
EtcdCiliumGRPC = 3991
|
||||||
|
EtcdCiliumQuarantinedClientPort = 3992
|
||||||
|
|
||||||
|
// DNSControllerGossipMemberlist is the port where dns-controller listens for the memberlist-backed gossip
|
||||||
|
DNSControllerGossipMemberlist = 3993
|
||||||
|
|
||||||
// EtcdMainQuarantinedClientPort is the port used by etcd when quarantined, for the main etcd
|
// EtcdMainQuarantinedClientPort is the port used by etcd when quarantined, for the main etcd
|
||||||
EtcdMainQuarantinedClientPort = 3994
|
EtcdMainQuarantinedClientPort = 3994
|
||||||
|
|
||||||
|
@ -29,9 +44,6 @@ const (
|
||||||
// EtcdEventsGRPC is the GRPC port used by etcd-manager, for the events etcd
|
// EtcdEventsGRPC is the GRPC port used by etcd-manager, for the events etcd
|
||||||
EtcdEventsGRPC = 3997
|
EtcdEventsGRPC = 3997
|
||||||
|
|
||||||
EtcdCiliumQuarantinedClientPort = 3992
|
|
||||||
EtcdCiliumGRPC = 3991
|
|
||||||
|
|
||||||
// DNSControllerGossipWeaveMesh is the port where dns-controller listens for the weave-mesh backend gossip
|
// DNSControllerGossipWeaveMesh is the port where dns-controller listens for the weave-mesh backend gossip
|
||||||
DNSControllerGossipWeaveMesh = 3998
|
DNSControllerGossipWeaveMesh = 3998
|
||||||
|
|
||||||
|
@ -41,28 +53,16 @@ const (
|
||||||
// ProtokubeGossipMemberlist is the port where protokube listens for the memberlist-backed gossip
|
// ProtokubeGossipMemberlist is the port where protokube listens for the memberlist-backed gossip
|
||||||
ProtokubeGossipMemberlist = 4000
|
ProtokubeGossipMemberlist = 4000
|
||||||
|
|
||||||
// DNSControllerGossipMemberlist is the port where dns-controller listens for the memberlist-backed gossip
|
// CiliumOperatorPrometheusPort is the port the Cilium Operator exposes metrics
|
||||||
DNSControllerGossipMemberlist = 3993
|
CiliumPrometheusOperatorPort = 6942
|
||||||
|
|
||||||
// KopsControllerPort is the port where kops-controller listens.
|
|
||||||
KopsControllerPort = 3988
|
|
||||||
|
|
||||||
// 4001 is etcd main, 4002 is etcd events, 4003 is etcd cilium
|
// 4001 is etcd main, 4002 is etcd events, 4003 is etcd cilium
|
||||||
|
|
||||||
// KubeAPIServerHealthCheck is the port where kube-apiserver-healthcheck listens.
|
|
||||||
KubeAPIServerHealthCheck = 3990
|
|
||||||
|
|
||||||
// NodeLocalDNSHealthCheck is the port where the node-local-dns health check listens.
|
|
||||||
NodeLocalDNSHealthCheck = 3989
|
|
||||||
|
|
||||||
// CiliumPrometheusPort is the default port where Cilium exposes metrics
|
// CiliumPrometheusPort is the default port where Cilium exposes metrics
|
||||||
CiliumPrometheusPort = 9090
|
CiliumPrometheusPort = 9090
|
||||||
|
|
||||||
// CiliumHubblePrometheusPort is the default port where Hubble exposes metrics
|
// CiliumHubblePrometheusPort is the default port where Hubble exposes metrics
|
||||||
CiliumHubblePrometheusPort = 9091
|
CiliumHubblePrometheusPort = 9091
|
||||||
|
|
||||||
// CiliumOperatorPrometheusPort is the port the Cilium Operator exposes metrics
|
|
||||||
CiliumPrometheusOperatorPort = 6942
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type PortRange struct {
|
type PortRange struct {
|
||||||
|
|
Loading…
Reference in New Issue