mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Don't use zone for regional load balancers.
This commit is contained in:
@@ -51,8 +51,14 @@ type Instances interface {
|
||||
List(filter string) ([]string, error)
|
||||
}
|
||||
|
||||
// Zone represents the location of a particular machine
|
||||
type Zone struct {
|
||||
FailureDomain string
|
||||
Region string
|
||||
}
|
||||
|
||||
// Zones is an abstract, pluggable interface for zone enumeration.
|
||||
type Zones interface {
|
||||
// GetZone returns the name of the current failure zone that the program is running in
|
||||
GetZone() (string, error)
|
||||
// GetZone returns the Zone containing the current failure zone and locality region that the program is running in
|
||||
GetZone() (Zone, error)
|
||||
}
|
||||
|
Reference in New Issue
Block a user