Menu

Kubernetes for Beginners: Run Your Apps So They Never Go Down
πŸ“°

Kubernetes for Beginners: Run Your Apps So They Never Go Down

DEV Community: kubernetesΒ·Arhan KhanΒ·8 days ago
#wUFjKTSi
#devtokubernetes#devto#dev#kubernetes#system
Reading 0:00
15s threshold

Kubernetes is a system for running containerised applications reliably at scale. When your app grows from one server to many, someone has to decide where each piece runs, restart pieces that crash, and scale pieces up when traffic spikes. Kubernetes does all of that automatically. That is why it runs the infrastructure behind companies of every size β€” it turns "keep my app running" from a constant manual job into a declared state that the system maintains for you.

How does Kubernetes work? You describe what you want β€” for example, "run three copies of my web app, and expose it on port 80" β€” in a YAML file, and Kubernetes makes it happen and keeps it that way. A Pod is the smallest unit, usually one container. A Deployment manages a set of identical Pods, replacing any that fail. A Service gives your Pods a stable address so other parts of your system can find them. If a server dies, Kubernetes moves the Pods elsewhere. If traffic grows, it adds more copies.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.