So I actually own a rental that's a condo in an HOA community and personally, I love it and haven't really had any issues. I will say that I am still a newer landlord so I guess take my last sentence with a grain of salt.
I do sit on the board of the HOA and I do it so I can be more in tune with what's going on and maybe have a little more say then your average homeowner if a problem should arise. Additionally, I use my background (budget and FP&A work experience) to help set the community for future success by ensuring there's enough going into the cap reserves.
I will say that if you do plan on buying in an HOA community (rental or personal residence) make sure you know the age of the community as well as have a sense if things have been up kept. My community is around the 30ish year mark so we have a lot of maintenance jobs going on. Luckily, we have enough reserves in place and don't have to have a special assessment but our dues go up yearly. We raise them with inflation so it's nothing dramatic but this is our specific board. I've heard from others in the past that what I have/am part of is not usually the norm.