In photo below, my bear canister is inside a red stuff sack up front, and then attached with shock cords to the rack.
This was on a trip coming down the Alaska Highway. I was still fortunate not to see many bears on that part of the trip, but the canister was still useful.

Too rich for my blood

I hope to be able to fit everything in two front panniers + canister (perhaps delusional. will see)