Merge pull request #27553 from justinsb/pvc_zone_spreading_2
Automatic merge from submit-queue AWS/GCE: Spread PetSet volume creation across zones, create GCE volumes in non-master zones Long term we plan on integrating this into the scheduler, but in the short term we use the volume name to place it onto a zone. We hash the volume name so we don't bias to the first few zones. If the volume name "looks like" a PetSet volume name (ending with -<number>) then we use the number as an offset. In that case we hash the base name.
This commit is contained in:
@@ -1131,6 +1131,7 @@ func (ctrl *PersistentVolumeController) provisionClaimOperation(claimObj interfa
|
||||
CloudTags: &tags,
|
||||
ClusterName: ctrl.clusterName,
|
||||
PVName: pvName,
|
||||
PVCName: claim.Name,
|
||||
}
|
||||
|
||||
// Provision the volume
|
||||
|
Reference in New Issue
Block a user