Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnnotationServiceTopologyKey = "openyurt.io/topologyKeys" AnnotationServiceTopologyValueNode = "kubernetes.io/hostname" AnnotationServiceTopologyValueZone = "kubernetes.io/zone" AnnotationServiceTopologyValueNodePool = "openyurt.io/nodepool" )
View Source
const FilterName = "servicetopology"
servicetopology filter is used to reassemble endpointslice in order to make the service traffic under the topology that defined by service.Annotation["openyurt.io/topologyKeys"]
Variables ¶
This section is empty.
Functions ¶
func NewServiceTopologyFilterHandler ¶
func NewServiceTopologyFilterHandler( nodeName string, serializer *serializer.Serializer, serviceLister listers.ServiceLister, nodePoolLister appslisters.NodePoolLister, nodeGetter filter.NodeGetter) filter.Handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.