mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Cloud Provider Zones doc fixups
This commit is contained in:
parent
23111ad414
commit
8e82db428b
@ -198,13 +198,13 @@ type Zones interface {
|
|||||||
// can no longer be called from the kubelets.
|
// can no longer be called from the kubelets.
|
||||||
GetZone(ctx context.Context) (Zone, error)
|
GetZone(ctx context.Context) (Zone, error)
|
||||||
|
|
||||||
// GetZoneByProviderID returns the Zone containing the current zone and locality region of the node specified by providerId
|
// GetZoneByProviderID returns the Zone containing the current zone and locality region of the node specified by providerID
|
||||||
// This method is particularly used in the context of external cloud providers where node initialization must be down
|
// This method is particularly used in the context of external cloud providers where node initialization must be done
|
||||||
// outside the kubelets.
|
// outside the kubelets.
|
||||||
GetZoneByProviderID(ctx context.Context, providerID string) (Zone, error)
|
GetZoneByProviderID(ctx context.Context, providerID string) (Zone, error)
|
||||||
|
|
||||||
// GetZoneByNodeName returns the Zone containing the current zone and locality region of the node specified by node name
|
// GetZoneByNodeName returns the Zone containing the current zone and locality region of the node specified by node name
|
||||||
// This method is particularly used in the context of external cloud providers where node initialization must be down
|
// This method is particularly used in the context of external cloud providers where node initialization must be done
|
||||||
// outside the kubelets.
|
// outside the kubelets.
|
||||||
GetZoneByNodeName(ctx context.Context, nodeName types.NodeName) (Zone, error)
|
GetZoneByNodeName(ctx context.Context, nodeName types.NodeName) (Zone, error)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user