Respect service.nativelb=false annotation when nativeLBByDefault is enabled
This commit is contained in:
parent
d674b393a8
commit
cdacf0bca8
18 changed files with 669 additions and 13 deletions
|
|
@ -301,6 +301,38 @@ spec:
|
|||
type: ClusterIP
|
||||
clusterIP: 10.10.0.1
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: native-disabled-svc
|
||||
namespace: default
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
type: ClusterIP
|
||||
clusterIP: 10.10.0.1
|
||||
|
||||
---
|
||||
kind: EndpointSlice
|
||||
apiVersion: discovery.k8s.io/v1
|
||||
metadata:
|
||||
name: native-disabled-svc-abc
|
||||
namespace: default
|
||||
labels:
|
||||
kubernetes.io/service-name: native-disabled-svc
|
||||
addressType: IPv4
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
endpoints:
|
||||
- addresses:
|
||||
- 10.10.0.20
|
||||
- 10.10.0.21
|
||||
conditions:
|
||||
ready: true
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue