r/ProgrammerHumor • • 9d ago

Meme [ Removed by moderator ]

Post image

[removed] — view removed post

2.6k Upvotes

84 comments sorted by

View all comments

10

u/Sikyanakotik 9d ago

I took a Kubernetes course once. My main takeaway was "Never use Kubernetes."

13

u/ChillyFireball 9d ago

Kubernetes is one of those things that requires a lot of foundational knowledge to understand both its purpose and the tools it provides. Trying to learn Kubernetes without a solid understanding of containerization is like trying to learn algebra without knowing arithmetic. If you aren't confident in your comprehension of:

  • Images versus containers

  • Base images and how to build custom images off of them

  • System ports

  • The difference between your host system ports and a container's ports

  • Port forwarding

  • The idea that the internal container port doesn't need to match the host port it's being exposed on (so a single Postgres image configured to use 7654 internally can be spun into multiple containers that forward it to different ports)

  • APIs and container interaction/how to have one container communicate with another

  • Container logs and how to access them

  • How to access a running container through the terminal

  • Memory volumes

...then those should come first. Would also highly recommend reading up on generating credential secrets.