mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 07:03:31 +00:00
Updating target pools on cloud nodes change.
Implemented updating target pools for external services on chage of cloud nodes. Related to #5241.
This commit is contained in:
@@ -42,6 +42,10 @@ type Clusters interface {
|
||||
Master(clusterName string) (string, error)
|
||||
}
|
||||
|
||||
func GetLoadBalancerName(clusterName, serviceNamespace, serviceName string) string {
|
||||
return clusterName + "-" + serviceNamespace + "-" + serviceName
|
||||
}
|
||||
|
||||
// TCPLoadBalancer is an abstract, pluggable interface for TCP load balancers.
|
||||
type TCPLoadBalancer interface {
|
||||
// TCPLoadBalancerExists returns whether the specified load balancer exists.
|
||||
|
Reference in New Issue
Block a user