GCE LoadBalancer : Invalid value for field 'namedPorts[0].port': '0'. Must be greater than or equal to 1

前端 未结 3 985
隐瞒了意图╮
隐瞒了意图╮ 2020-12-11 05:44

In one of my HTTP(S) LoadBalancer, I wish to change my backend configuration to increase the timeout from 30s to 60s (We have a few 502\'s that do not have any logs server-s

3条回答
  •  北海茫月
    2020-12-11 06:02

    I'm sure the OP has resolved this by now, but for anyone else pulling their hair out, this might work for you:

    There's a bug of sorts in the GCE Load Balancer UI. If you add an empty frontend IP/Port combo by accident, it will create a named port in the Instance Group called port0 with a value of 0. You may not even realize this happened because you won't see the empty frontend mapping in the console.

    To fix the problem, edit your instance group and remove port0 from the list of port name mappings.

提交回复
热议问题