SShortSingh.
Back to feed

How kubectl apply Works: A Step-by-Step Look Inside Kubernetes

0
·1 views

Running kubectl apply triggers a multi-stage workflow within a Kubernetes cluster, far more complex than it appears on the surface. The API Server first authenticates and validates the submitted YAML manifest, then stores the desired resource state in ETCD, the cluster's central data store. The Controller Manager continuously monitors ETCD for differences between desired and actual state, automatically creating a ReplicaSet and the required Pods when a Deployment is submitted. The Scheduler then assigns each pending Pod to the most suitable worker node by filtering out ineligible nodes and scoring the remaining candidates. Finally, the Kubelet on the selected node picks up the assignment and works with the container runtime to launch the actual container.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

GPT, Claude, Gemini, and Grok Tested on Recreating the Mona Lisa

A blog post on TryAI.dev compared how several leading AI models — GPT-5.6, Claude, Gemini, and Grok — performed at a creative drawing task centered on the Mona Lisa. The experiment appears to evaluate each model's ability to generate or describe visual artwork using a colored-pencil style format. The post was shared on Hacker News, where it attracted modest early engagement with a small number of points and comments. The comparison offers an informal look at the current creative and visual reasoning capabilities across competing AI platforms.

0
ProgrammingHacker News ·

Terence Tao Analyzes Claimed Counterexample to the Jacobian Conjecture

Renowned mathematician Terence Tao published a detailed analysis on July 21, 2026, examining a claimed counterexample to the Jacobian conjecture. The Jacobian conjecture is a longstanding open problem in mathematics concerning polynomial maps and their invertibility. Tao's blog post breaks down the counterexample, offering his own digestion of the argument for the mathematical community. The post appeared on his widely followed mathematics blog and quickly drew attention on Hacker News.

0
ProgrammingDEV Community ·

8-Week AI-Augmented ReactJS Roadmap Targets Junior Web Developers

A revised 8-week curriculum has been published on DEV Community to help aspiring junior web developers learn ReactJS alongside modern AI tools such as GitHub Copilot, ChatGPT, and Claude. The plan trims deeper theoretical content to prioritize practical, AI-assisted workflows while retaining core React skills including hooks, routing, and state management. Every two weeks, a dedicated Tech Insight Day is built in for reflection and peer discussion rather than new material. The curriculum also covers foundational topics like HTML5, CSS3, TailwindCSS, JavaScript fundamentals, asynchronous programming, Git, and Agile project management with Jira. A key emphasis throughout is critical evaluation of AI-generated code, encouraging learners to verify and understand suggestions rather than copy them blindly.

0
ProgrammingDEV Community ·

Developer Rebuilds Sovereign Cloud Platform After Near-Collapse Under Load Testing

A cloud platform built for a national cybersecurity authority nearly failed during stress testing when CPU usage spiked to 95% and its Gemini AI security analysis service stopped responding within 15 seconds. The root cause was a synchronous blocking architecture where each request waited sequentially for HMAC verification, database queries, Redis logging, and AI processing before responding to users. Over 36 hours, the developer restructured the system using an asynchronous event bus via Redis Pub/Sub, local session caching for Vault keys, and a circuit breaker pattern to prevent memory exhaustion. These changes reduced response times from 200 milliseconds to under 40 milliseconds and cut Vault server load by 70%. When retested at 5 a.m., the system absorbed the traffic spike and stabilized within 2.1 seconds, with Kubernetes horizontal scaling activating successfully.

How kubectl apply Works: A Step-by-Step Look Inside Kubernetes · ShortSingh