DEV Community

Discussion on: Run Kubernetes Pod with root privileges (not recommended)

Collapse
 
sebastiandg7 profile image
Sebastián Duque G • Edited

For other readers: running a container with root privileges is a DEFINITELY NO.

I kind of get you. The reason of why others are pointing this is a super bad practice/anti-pattern is because your post title is "Run Kubernetes Pod with root privileges" (tagged with #tutorial and with a very elaborated and motivational image), that title is more a How-To guide than an advice request. So yes, is important to point this is a bad practice before other more inexperienced devs/devops read it.

You could change your post's purpose asking for recommendations in how to fix your permissions issues, tag it with #help and you will see the difference in the replys.

Collapse
 
techworld_with_nana profile image
TechWorld with Nana

Thanks for pointing this out! I actually will adjust it, because could really be misleading

Thread Thread
 
exadra37 profile image
Paulo Renato

Still contains the tag tutorial.

This kind of article is what promotes bad practices all over the internet.

This just remembers the chmod 777 all around StackOverflow as a way of solving issues.

Thread Thread
 
techworld_with_nana profile image
TechWorld with Nana • Edited

I removed the tag..don't know why it was not saved.

Just archived it. I don't rely on that post anyway.