# Learnk8s

In-depth, technical Kubernetes articles with a focus on mastering the fundamentals and visual explanations.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Java JVM CPU and Memory Requests and Limits in Kubernetes

DevFeed: [Java JVM CPU and Memory Requests and Limits in Kubernetes](<https://devfeed.tech/articles/java-jvm-cpu-and-memory-requests-and-limits-in-kubernetes-19133.md>)

Original publisher: [Read original article](<https://learnkube.com/java-jvm-kubernetes-requests-limits>)

Author: Gulcan Topcu

Published: 2026-08-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Java](<https://devfeed.tech/topics/java.md>), [container](<https://devfeed.tech/topics/container.md>), [cpu](<https://devfeed.tech/topics/cpu.md>)

Tags: [container](<https://devfeed.tech/tags/container.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [docker](<https://devfeed.tech/tags/docker.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [java](<https://devfeed.tech/tags/java.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [memory](<https://devfeed.tech/tags/memory.md>)

### AI overview

This tutorial explains how Kubernetes CPU and memory requests and limits affect Java JVM behavior. It covers container memory sizing, heap usage, garbage collection, CPU-derived JVM settings, and testing under load.

### Source excerpt

Setting Kubernetes CPU and memory requests and limits for a JVM service is four coupled decisions: container memory, heap size, GC selection, and CPU quota. Use the calculator to explore the space.

## Server-side apply: what happens when you run kubectl apply

DevFeed: [Server-side apply: what happens when you run kubectl apply](<https://devfeed.tech/articles/server-side-apply-what-happens-when-you-run-kubectl-apply-19145.md>)

Original publisher: [Read original article](<https://learnkube.com/server-side-apply-kubernetes>)

Author: Chiara Salvatore

Published: 2026-06-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>), [API](<https://devfeed.tech/topics/api.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [apply](<https://devfeed.tech/tags/apply.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [openapi](<https://devfeed.tech/tags/openapi.md>)

### AI overview

This tutorial explains how Kubernetes client-side and server-side apply handle shared object state. It focuses on field ownership, API server interactions, and how different tools can overwrite or preserve changes.

### Source excerpt

Client-side apply can silently overwrite changes made by other tools. Server-side apply moves field ownership to the API server. Here is how it works and why it matters.

## Kubelet Metrics: How cAdvisor and CRI Collect Kubernetes Stats

DevFeed: [Kubelet Metrics: How cAdvisor and CRI Collect Kubernetes Stats](<https://devfeed.tech/articles/kubelet-metrics-how-cadvisor-and-cri-collect-kubernetes-stats-19138.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-metrics-cadvisor-kubelet-cri>)

Author: Gulcan Topcu

Published: 2026-05-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [container](<https://devfeed.tech/topics/container.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-server](<https://devfeed.tech/tags/api-server.md>), [cgroups](<https://devfeed.tech/tags/cgroups.md>), [collect](<https://devfeed.tech/tags/collect.md>), [container](<https://devfeed.tech/tags/container.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [data](<https://devfeed.tech/tags/data.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [grafana](<https://devfeed.tech/tags/grafana.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [linux](<https://devfeed.tech/tags/linux.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [trace](<https://devfeed.tech/tags/trace.md>), [visibility](<https://devfeed.tech/tags/visibility.md>)

### AI overview

This tutorial explains how Kubernetes collects and exposes container, pod, and node metrics through kubelet, cAdvisor, the Linux kernel, and the Container Runtime Interface (CRI). It describes the shift toward CRI-native metrics over gRPC and how Prometheus, Grafana, and other observability systems consume the data.

### Source excerpt

Learn how kubelet collects Kubernetes metrics from cgroups, cAdvisor, containerd and CRI, and when pod and container stats move to the runtime.

## How the Kubernetes control plane works

DevFeed: [How the Kubernetes control plane works](<https://devfeed.tech/articles/how-the-kubernetes-control-plane-works-19135.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-control-plane>)

Author: LearnKube

Published: 2026-04-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [API](<https://devfeed.tech/topics/api.md>), [Cloud Native Ecosystem](<https://devfeed.tech/topics/cloud-native-ecosystem.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-server](<https://devfeed.tech/tags/api-server.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [reconciliation](<https://devfeed.tech/tags/reconciliation.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>), [schema](<https://devfeed.tech/tags/schema.md>)

### AI overview

This tutorial explains how the Kubernetes control plane accepts changes, stores desired state, and keeps a cluster aligned with that state. It introduces the API server, etcd, scheduler, and controller manager, then describes request validation and persistence in etcd.

### Source excerpt

A visual map of the Kubernetes control plane with linked deep dives into the API server, scheduler, controller manager, and etcd.

## How does the Kubernetes controller manager work?

DevFeed: [How does the Kubernetes controller manager work?](<https://devfeed.tech/articles/how-does-the-kubernetes-controller-manager-work-19136.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-controller-manager-explained>)

Author: Daniele Polencic

Published: 2026-04-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [controllers](<https://devfeed.tech/tags/controllers.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [running](<https://devfeed.tech/tags/running.md>), [self-healing](<https://devfeed.tech/tags/self-healing.md>), [state](<https://devfeed.tech/tags/state.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

A tutorial explaining how the Kubernetes controller manager runs reconciliation loops that watch resources and move the cluster toward its desired state. It demonstrates how a Deployment and ReplicaSet replace a deleted Pod and contrasts declarative control with imperative scripting.

### Source excerpt

The controller manager runs the control loops that make Kubernetes self-healing. Learn how controllers watch resources, reconcile desired state, and drive the chain reaction from Deployment to running Pods.

## Why etcd breaks at scale in Kubernetes

DevFeed: [Why etcd breaks at scale in Kubernetes](<https://devfeed.tech/articles/why-etcd-breaks-at-scale-in-kubernetes-19130.md>)

Original publisher: [Read original article](<https://learnkube.com/etcd-breaks-at-scale>)

Author: Daniele Polencic

Published: 2026-02-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Database](<https://devfeed.tech/topics/database.md>), [Raft](<https://devfeed.tech/topics/raft.md>), [Availability](<https://devfeed.tech/topics/availability.md>)

Tags: [api-server](<https://devfeed.tech/tags/api-server.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [database](<https://devfeed.tech/tags/database.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [raft](<https://devfeed.tech/tags/raft.md>), [scale](<https://devfeed.tech/tags/scale.md>)

### AI overview

This article explains why etcd becomes a bottleneck as Kubernetes clusters grow. It describes etcd as the API server's private, consistent backend and explains how Raft supports shared state across multiple API servers for high availability.

### Source excerpt

etcd is the database behind every Kubernetes cluster. This article explains etcd's design limits, how the API server amplifies them, and what you can do about it -- from sharding to what GKE, EKS, and k3s built.

## How does the Kubernetes scheduler work?

DevFeed: [How does the Kubernetes scheduler work?](<https://devfeed.tech/articles/how-does-the-kubernetes-scheduler-work-19140.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-scheduler-explained>)

Author: Daniele Polencic

Published: 2026-02-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>)

Tags: [deployment](<https://devfeed.tech/tags/deployment.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

This tutorial explains how the Kubernetes scheduler assigns pods to worker nodes by filtering unsuitable nodes and scoring the remaining candidates. It also clarifies the roles of the controller manager, ReplicaSets, the API server, and the scheduler queue.

### Source excerpt

The Kubernetes scheduler decides where your pods run. Learn how it filters nodes, scores candidates, and assigns workloads to the right place in your cluster.

## What happens inside the Kubernetes API server?

DevFeed: [What happens inside the Kubernetes API server?](<https://devfeed.tech/articles/what-happens-inside-the-kubernetes-api-server-19134.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-api-explained>)

Author: Daniele Polencic

Published: 2026-01-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [API](<https://devfeed.tech/topics/api.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [http](<https://devfeed.tech/tags/http.md>), [json](<https://devfeed.tech/tags/json.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [openapi](<https://devfeed.tech/tags/openapi.md>)

### AI overview

This tutorial explains how the Kubernetes API server processes requests. It covers the HTTP and REST interface, the OpenAPI schema, client-side validation, authentication, authorization, and the request path toward etcd.

### Source excerpt

The Kubernetes API server handles all requests to your cluster. But how does it actually work? Learn how requests flow through authentication, authorization, admission controllers, and into etcd.

## From Linux Primitives to Kubernetes Security Contexts

DevFeed: [From Linux Primitives to Kubernetes Security Contexts](<https://devfeed.tech/articles/from-linux-primitives-to-kubernetes-security-contexts-19144.md>)

Original publisher: [Read original article](<https://learnkube.com/security-contexts>)

Author: Dave Altena

Published: 2025-08-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Security](<https://devfeed.tech/topics/security.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [cgroups](<https://devfeed.tech/tags/cgroups.md>), [config](<https://devfeed.tech/tags/config.md>), [containers](<https://devfeed.tech/tags/containers.md>), [filesystems](<https://devfeed.tech/tags/filesystems.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-security](<https://devfeed.tech/tags/kubernetes-security.md>), [learn](<https://devfeed.tech/tags/learn.md>), [linux](<https://devfeed.tech/tags/linux.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

This tutorial explains how Kubernetes Security Contexts control container privileges and how those settings map to underlying Linux primitives. It covers running containers as non-root users, managing capabilities, using read-only filesystems, and blocking privilege escalation.

### Source excerpt

Dive deep into Kubernetes Security Contexts and learn how to manage security settings for your pods and containers.

## Kubernetes networking: service, kube-proxy, load balancing

DevFeed: [Kubernetes networking: service, kube-proxy, load balancing](<https://devfeed.tech/articles/kubernetes-networking-service-kube-proxy-load-balancing-19141.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-services-and-load-balancing>)

Author: Gulcan Topcu

Published: 2024-10-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [networking](<https://devfeed.tech/topics/networking.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [applications](<https://devfeed.tech/tags/applications.md>), [backend](<https://devfeed.tech/tags/backend.md>), [browser](<https://devfeed.tech/tags/browser.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [http](<https://devfeed.tech/tags/http.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-networking](<https://devfeed.tech/tags/kubernetes-networking.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [networking](<https://devfeed.tech/tags/networking.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [services](<https://devfeed.tech/tags/services.md>)

### AI overview

A tutorial on Kubernetes networking that explains Services, kube-proxy, and load balancing. It covers pod communication, ClusterIP, NodePort, and LoadBalancer services, along with traffic from external sources and implementation details using iptables.

### Source excerpt

Master Kubernetes networking with Services and load balancing. Learn how traffic flows within clusters and from external sources.

## Load balancing and scaling long-lived connections in Kubernetes

DevFeed: [Load balancing and scaling long-lived connections in Kubernetes](<https://devfeed.tech/articles/load-balancing-and-scaling-long-lived-connections-in-kubernetes-19137.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-long-lived-connections>)

Author: Daniele Polencic

Published: 2024-06-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Load Balancing](<https://devfeed.tech/topics/load-balancing.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [client](<https://devfeed.tech/topics/client.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [http](<https://devfeed.tech/tags/http.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-services](<https://devfeed.tech/tags/kubernetes-services.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [load-balancing](<https://devfeed.tech/tags/load-balancing.md>), [round-robin](<https://devfeed.tech/tags/round-robin.md>)

### AI overview

This tutorial explains why Kubernetes Services may not evenly distribute requests over long-lived connections. It describes Kubernetes Services and Deployments and discusses client-side load balancing or proxies for HTTP/2, gRPC, RSocket, AMQP, and long-lived database connections.

### Source excerpt

Handle long-lived connections in Kubernetes. Master client-side load balancing for HTTP/2, gRPC, and database connections.

## Kubernetes Authentication: Users and Workload Identities

DevFeed: [Kubernetes Authentication: Users and Workload Identities](<https://devfeed.tech/articles/kubernetes-authentication-users-and-workload-identities-19129.md>)

Original publisher: [Read original article](<https://learnkube.com/authentication-kubernetes>)

Author: Arthur Chiao

Published: 2022-06-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [API](<https://devfeed.tech/topics/api.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [api-server](<https://devfeed.tech/tags/api-server.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [http](<https://devfeed.tech/tags/http.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [rest](<https://devfeed.tech/tags/rest.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

This tutorial explains how Kubernetes authenticates users and workloads when they access the Kubernetes API server. It introduces authentication as the process of identifying requesters, distinguishes it from authorization, and discusses access through kubectl and REST calls, including Service Accounts, projected tokens, OIDC, and workload identity.

### Source excerpt

Explore how the Kubernetes API server authenticates users and workloads with Service Accounts, projected tokens, OIDC, and workload identity.

## The mechanics of Kubernetes RBAC and how it connects users to permissions

DevFeed: [The mechanics of Kubernetes RBAC and how it connects users to permissions](<https://devfeed.tech/articles/the-mechanics-of-kubernetes-rbac-and-how-it-connects-users-to-permissions-19143.md>)

Original publisher: [Read original article](<https://learnkube.com/rbac-kubernetes>)

Author: Arthur Chiao

Published: 2022-03-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Authorization](<https://devfeed.tech/topics/authorization.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [API](<https://devfeed.tech/topics/api.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>)

### AI overview

A practical tutorial on Kubernetes Role-Based Access Control (RBAC), explaining how authentication, authorization, roles, bindings, service accounts, and the Kubernetes API server fit together.

### Source excerpt

A practical guide to Kubernetes RBAC authorization. Master Roles, RoleBindings, ClusterRoles, and ServiceAccounts with real scenarios and hands-on examples.

## How etcd works with and without Kubernetes

DevFeed: [How etcd works with and without Kubernetes](<https://devfeed.tech/articles/how-etcd-works-with-and-without-kubernetes-19131.md>)

Original publisher: [Read original article](<https://learnkube.com/etcd-kubernetes>)

Author: Emanuel Evans

Published: 2021-07-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Database](<https://devfeed.tech/topics/database.md>), [API](<https://devfeed.tech/topics/api.md>), [Processes](<https://devfeed.tech/topics/processes.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [database](<https://devfeed.tech/tags/database.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [key-value-store](<https://devfeed.tech/tags/key-value-store.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [process](<https://devfeed.tech/tags/process.md>), [scheduler](<https://devfeed.tech/tags/scheduler.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

A deep dive into etcd as Kubernetes' database, explaining how it fits into the control plane and how to build, configure, and troubleshoot a 3-node etcd cluster.

### Source excerpt

Deep dive into etcd distributed key-value store and how Kubernetes uses it as its database. Learn to build, configure, and troubleshoot a 3-node etcd cluster with practical examples.

## Authentication between microservices using Kubernetes identities

DevFeed: [Authentication between microservices using Kubernetes identities](<https://devfeed.tech/articles/authentication-between-microservices-using-kubernetes-identities-19142.md>)

Original publisher: [Read original article](<https://learnkube.com/microservices-authentication-kubernetes>)

Author: Amit Saha

Published: 2020-12-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Authentication](<https://devfeed.tech/topics/authentication.md>), [Microservice](<https://devfeed.tech/topics/microservice.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [services](<https://devfeed.tech/tags/services.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

This tutorial explains how to authenticate requests between in-cluster microservices using Kubernetes Service Accounts and the TokenReview API, then improve the design with audience-bound projected Service Account tokens. It also outlines static tokens, OAuth, and mutual TLS as alternative approaches.

### Source excerpt

Learn how you can secure communications between microservices to prevent unauthenticated requests using Kubernetes identities.

## Setting the right requests and limits in Kubernetes

DevFeed: [Setting the right requests and limits in Kubernetes](<https://devfeed.tech/articles/setting-the-right-requests-and-limits-in-kubernetes-19146.md>)

Original publisher: [Read original article](<https://learnkube.com/setting-cpu-memory-limits-requests>)

Author: Gulcan Topcu

Published: 2020-09-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [autoscaling](<https://devfeed.tech/topics/autoscaling.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [YAML](<https://devfeed.tech/topics/yaml.md>)

Tags: [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [cgroups](<https://devfeed.tech/tags/cgroups.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [container](<https://devfeed.tech/tags/container.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [memory](<https://devfeed.tech/tags/memory.md>), [quotas](<https://devfeed.tech/tags/quotas.md>), [resource](<https://devfeed.tech/tags/resource.md>), [systems](<https://devfeed.tech/tags/systems.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

A tutorial explaining how Kubernetes CPU and memory requests and limits affect scheduling, Linux cgroups, resource contention, eviction, out-of-memory handling, and autoscaling.

### Source excerpt

Learn how Kubernetes CPU and memory requests and limits control scheduling, cgroup weights and quotas, eviction, throttling, and OOM kills.

## Graceful shutdown in Kubernetes

DevFeed: [Graceful shutdown in Kubernetes](<https://devfeed.tech/articles/graceful-shutdown-in-kubernetes-19132.md>)

Original publisher: [Read original article](<https://learnkube.com/graceful-shutdown>)

Author: Daniele Polencic

Published: 2020-08-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>), [API](<https://devfeed.tech/topics/api.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [learn](<https://devfeed.tech/tags/learn.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

### AI overview

This tutorial explains graceful shutdown in Kubernetes, focusing on preventing broken connections when Pods start or terminate and handling long-running tasks and connections during shutdown. It also describes how Pod creation moves through the Kubernetes API, etcd, authentication and authorization checks, scheduling, and kubelet activity.

### Source excerpt

Prevent broken connections in Kubernetes. Learn graceful Pod shutdown techniques and how to handle long-running tasks during termination.

## Allocatable memory and CPU in Kubernetes Nodes

DevFeed: [Allocatable memory and CPU in Kubernetes Nodes](<https://devfeed.tech/articles/allocatable-memory-and-cpu-in-kubernetes-nodes-19128.md>)

Original publisher: [Read original article](<https://learnkube.com/allocatable-resources>)

Author: Daniele Polencic

Published: 2020-05-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>)

Tags: [cpu](<https://devfeed.tech/tags/cpu.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [memory](<https://devfeed.tech/tags/memory.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [storage](<https://devfeed.tech/tags/storage.md>), [systemd](<https://devfeed.tech/tags/systemd.md>)

### AI overview

This tutorial explains why Kubernetes Nodes cannot dedicate all CPU, memory, and storage resources to Pods. It describes resources used by the operating system, system daemons, Kubernetes agents, and eviction thresholds, then discusses how managed Kubernetes services allocate these resources.

### Source excerpt

Pods deployed in your Kubernetes cluster consume resources such as memory, CPU and storage. However, not all resources in a Node can be used to run Pods.

## A visual guide on troubleshooting Kubernetes deployments

DevFeed: [A visual guide on troubleshooting Kubernetes deployments](<https://devfeed.tech/articles/a-visual-guide-on-troubleshooting-kubernetes-deployments-19147.md>)

Original publisher: [Read original article](<https://learnkube.com/troubleshooting-deployments>)

Author: Daniele Polencic

Published: 2019-12-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [components](<https://devfeed.tech/tags/components.md>), [debug](<https://devfeed.tech/tags/debug.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [guide](<https://devfeed.tech/tags/guide.md>), [ingress](<https://devfeed.tech/tags/ingress.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

A visual guide to troubleshooting Kubernetes deployments. It explains how Deployments, Services, Ingresses, and Pods relate, and highlights key relationships to check when diagnosing deployment issues.

### Source excerpt

Master Kubernetes troubleshooting. Debug pod failures, resolve common errors, and diagnose deployment issues with proven strategies.

## How to Rollback a Deployment in Kubernetes

DevFeed: [How to Rollback a Deployment in Kubernetes](<https://devfeed.tech/articles/how-to-rollback-a-deployment-in-kubernetes-19139.md>)

Original publisher: [Read original article](<https://learnkube.com/kubernetes-rollbacks>)

Author: Gergely Risko

Published: 2019-10-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Learnk8s](<https://devfeed.tech/sources/learnk8s.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [zero downtime deployment](<https://devfeed.tech/topics/zero-downtime-deployment.md>), [Microservice](<https://devfeed.tech/topics/microservice.md>)

Tags: [commands](<https://devfeed.tech/tags/commands.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [deployment-strategies](<https://devfeed.tech/tags/deployment-strategies.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [production](<https://devfeed.tech/tags/production.md>), [rollback](<https://devfeed.tech/tags/rollback.md>), [rolling-update](<https://devfeed.tech/tags/rolling-update.md>), [zero-downtime-deployment](<https://devfeed.tech/tags/zero-downtime-deployment.md>)

### AI overview

This tutorial explains Kubernetes deployment rollbacks and the default rolling update strategy. It describes how Pods are replaced incrementally, how readiness checks support traffic transitions, and why a rollback plan is important when a production change breaks an application.

### Source excerpt

Learn how to roll back breaking changes in Kubernetes. Master kubectl rollback commands and deployment strategies to quickly recover from production issues.