Urgent.News

What's breaking now, across thousands of outlets.

Tech

Kubernetes Is Not Magic: Understanding How Kubernetes Actually Works

Kubernetes can look intimidating when you first encounter it. You see: kubectl get pods kubectl get deployments kubectl get services kubectl describe pod kubectl apply -f deployment.yaml Then you open a Kubernetes manifest and find: apiVersion : apps/v1 kind : Deployment metadata : name : my-app spec : replicas : 3 And you think: "What is actually happening here?" That question is more important…

Kubernetes can seem overwhelming at first, but understanding its underlying concepts makes it much easier. Instead of viewing Kubernetes as a collection of commands, focus on the system it builds. This article will help build that mental model.

The problem Kubernetes solves is managing containerized workloads. Manual management becomes complex as applications grow. Kubernetes provides orchestration for these workloads.

Kubernetes operates in a desired-state system. You describe the state you want, not how to achieve it. For example, "I want three replicas of this application." Kubernetes works to maintain this desired state through a process called reconciliation.

A Kubernetes cluster consists of the control plane and worker nodes. The control plane manages the cluster, while worker nodes run application workloads.

The control plane components include the API Server, etcd, Scheduler, and Controller Manager. The API Server is crucial as it provides the interface for managing Kubernetes resources. etcd stores cluster state, serving as a distributed key-value store. The Scheduler decides which worker node a Pod should run on, considering factors like resource requirements. The Controller Manager continuously observes the cluster to maintain the desired state.

A Pod is the smallest deployable unit in Kubernetes. A Pod can contain one or more containers. Pods share resources and networking characteristics. While Pods can run containers directly, Kubernetes offers abstractions like Deployments, making it easier to manage large numbers of containers.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Nutanix Zero-Copy Migration Removes Data Movement. It Doesn't Remove Migration Risk.

Zero-copy migration removes one of the most time-consuming parts of a VMware migration: moving the data itself. What it does not remove are the identity, dependency, survivability, and verification…

  • Nutanix Zero-Copy Migration removes data movement time in VMware to AHV.
  • Zero-Copy Migration does not eliminate migration risks like identity and dependency.
  • Verification step missing in Zero-Copy Migration, risking data integrity.

What App Sandbox actually takes away from a Mac disk cleaner

A disk cleaner is a badly-shaped citizen of the App Sandbox: its whole job is to look at files the user did not explicitly pick.

  • Disk cleaner sandboxed version limited to user's home directory and certain app folders
  • Direct download version can scan additional system roots
  • Sandbox restricts accessing ~/Library folder directly

Email verified is not authorization

Verifying an email address strengthens identity. It does not decide what that identity may do. A user who clicked the confirm link is still only authenticated.

I built a free online C compiler from scratch – here's how it works

I recently built CForge, a free online C and C++ compiler that runs entirely in the browser. No signup. No ads. No installation.

  • I created CForge, a free online C/C++ compiler running in web browsers.
  • Code execution via Piston API with GCC 10.2, no Docker or backend needed.
  • Features include stdin, command line args, separate stdout/stderr, shareable links, auto-save.

How I analyze theHunter: Call of the Wild saves without changing them

Game saves contain a surprising amount of useful information, but much of it is hard to turn into useful decisions while playing.

  • Companion analyzes game saves without altering them
  • Provides context on animal populations and harvest history
  • Available on Hunter: Call of the Wild Tools website

More from Sunday 27 September →