no longer including linkerd ports.
This commit is contained in:
parent
108f21ea58
commit
56398027b7
@ -115,6 +115,9 @@ func (c *Cluster) PortNumbers(application *Application) []Port {
|
|||||||
udpPorts := make(map[int]Port)
|
udpPorts := make(map[int]Port)
|
||||||
for _, pod := range c.Pods(application) {
|
for _, pod := range c.Pods(application) {
|
||||||
for _, container := range pod.Spec.Containers {
|
for _, container := range pod.Spec.Containers {
|
||||||
|
if container.Name == "linkerd-proxy" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
for _, port := range container.Ports {
|
for _, port := range container.Ports {
|
||||||
switch port.Protocol {
|
switch port.Protocol {
|
||||||
case "TCP":
|
case "TCP":
|
||||||
|
Loading…
Reference in New Issue
Block a user