• k8s-merge-robot's avatar
    Merge pull request #25869 from jsafrane/devel/operation-logs · da7d3c18
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    volume controller: use better operation names
    
    Using volume/claim.UID in the operation name is not really useful, as UIDs are not logged by rest of the controller. On the other hand, volume.Name and claim.Namespace/Name is logged pretty often and it would help to log these also in operation name. Still, I'd prefer to have the operation name really unique to be protected from users deleting a volume and quickly creating another one with the same name, so UID is still part of the operation name.
    
    This has been already proven to be very useful in controller debugging.
    da7d3c18
controller.go 51.1 KB