mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
fix reuse nodePort issue
This commit is contained in:
@@ -1784,7 +1784,7 @@ type LoadBalancerIngress struct {
|
||||
type ServiceSpec struct {
|
||||
// The list of ports that are exposed by this service.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies
|
||||
Ports []ServicePort `json:"ports"`
|
||||
Ports []ServicePort `json:"ports" patchStrategy:"merge" patchMergeKey:"port"`
|
||||
|
||||
// This service will route traffic to pods having labels matching this selector.
|
||||
// Label keys and values that must match in order to receive traffic for this service.
|
||||
|
||||
Reference in New Issue
Block a user