Kubernetes

Explore Kubernetes articles in DevOps.

DevOps

Kubernetes Introduction

Kubernetes is an open-source container orchestration platform that automates deployment, scaling, and management of containerized applications.

KubernetesDevOpsContainer OrchestrationInterview Preparation

DevOps

Kubernetes Architecture

Kubernetes architecture consists of a control plane and worker nodes, each with specific components that work together to run and manage containerized workloads.

KubernetesDevOpsKubernetes ArchitectureControl PlaneInterview Preparation

DevOps

Kubernetes Pod

A Pod is the smallest deployable unit in Kubernetes, wrapping one or more containers that share a network namespace and storage volumes.

KubernetesDevOpsPodContainerInterview Preparation

DevOps

Kubernetes ReplicaSet

A ReplicaSet ensures a specified number of Pod replicas are running at all times, automatically replacing failed Pods to maintain the desired count.

KubernetesDevOpsReplicaSetHigh AvailabilityInterview Preparation

DevOps

Kubernetes Deployment

A Deployment manages stateless application rollouts in Kubernetes, providing declarative updates, rolling upgrades, and rollback through ReplicaSets.

KubernetesDevOpsDeploymentRolling UpdateInterview Preparation

DevOps

Kubernetes Service

A Kubernetes Service provides a stable DNS name and IP address for accessing a dynamic set of Pods, abstracting away Pod IP churn with label-based routing.

KubernetesDevOpsServiceNetworkingInterview Preparation

DevOps

Kubernetes ConfigMap

A ConfigMap stores non-sensitive configuration data as key-value pairs in Kubernetes, decoupling application configuration from container images.

KubernetesDevOpsConfigMapConfiguration ManagementInterview Preparation

DevOps

Kubernetes Secret

A Kubernetes Secret stores sensitive data such as passwords, tokens, and TLS certificates separately from Pod specs, with base64 encoding and optional encryption at rest.

KubernetesDevOpsSecretSecurityInterview Preparation

DevOps

Kubernetes Ingress

An Ingress exposes HTTP and HTTPS routes from outside a Kubernetes cluster to Services, using host and path-based routing rules managed by an Ingress controller.

KubernetesDevOpsIngressNetworkingInterview Preparation

DevOps

Kubernetes Namespace

Namespaces provide virtual clusters within a Kubernetes cluster, enabling isolation of resources, access control, and quota enforcement across teams or environments.

KubernetesDevOpsNamespaceMulti-tenancyInterview Preparation

DevOps

Kubernetes Volume and PVC

Kubernetes Volumes and PersistentVolumeClaims provide durable storage for containerized workloads, decoupling storage provisioning from Pod lifecycles.

KubernetesDevOpsVolumePersistentVolumeClaimStorageInterview Preparation

DevOps

Kubernetes StatefulSet

A StatefulSet manages stateful applications in Kubernetes with stable network identities, ordered deployment, and persistent storage per replica.

KubernetesDevOpsStatefulSetStateful ApplicationsInterview Preparation

DevOps

Kubernetes DaemonSet

Master Kubernetes DaemonSets for cluster-wide node agents, log collectors, monitoring daemons, update strategies, tolerations, and interview scenarios.

KubernetesDevOpsDaemonSetCluster ArchitectureInterview Preparation

DevOps

Kubernetes Job and CronJob

Explore Kubernetes Jobs and CronJobs for batch processing, completions, parallelism, restart policies, scheduling syntax, and interview questions.

KubernetesDevOpsJobCronJobBatch ProcessingInterview Preparation

DevOps

Kubernetes Resource Limits

Master Kubernetes requests, limits, QoS classes (Guaranteed, Burstable, BestEffort), CPU throttling, OOMKilled, and interview questions.

KubernetesDevOpsResource ManagementCPUMemoryInterview Preparation

DevOps

Kubernetes Health Checks

Configure Kubernetes liveness, readiness, and startup probes with HTTP, TCP, gRPC, and exec handlers to build self-healing, reliable applications.

KubernetesDevOpsHealth ChecksProbesReliabilityInterview Preparation

DevOps

Kubernetes Auto Scaling HPA

Scale Kubernetes Pods dynamically with Horizontal Pod Autoscaler v2, metric formulas, stabilization windows, behavior rules, and interview prep.

KubernetesDevOpsAuto ScalingHPAMetricsInterview Preparation

DevOps

Kubernetes Rolling Update and Rollback

Master zero-downtime Kubernetes deployments using RollingUpdate, maxSurge, maxUnavailable, preStop hooks, revision history, and rollbacks.

KubernetesDevOpsDeploymentRolling UpdateRollbackInterview Preparation

DevOps

Kubernetes Security

Implement Kubernetes security best practices with Pod Security Standards, runAsNonRoot, readOnlyRootFilesystem, NetworkPolicies, and secrets.

KubernetesDevOpsSecurityPod SecurityNetworkPolicyInterview Preparation

DevOps

Kubernetes RBAC

Master Kubernetes Role-Based Access Control: Roles, ClusterRoles, RoleBindings, ClusterRoleBindings, ServiceAccounts, and authorization.

KubernetesDevOpsRBACSecurityAuthenticationInterview Preparation

DevOps

Spring Boot on Kubernetes

Deploy production Spring Boot apps on Kubernetes: Actuator health groups, JVM container memory limits, ConfigMaps, Secrets, and graceful shutdown.

KubernetesDevOpsSpring BootJavaMicroservicesInterview Preparation

DevOps

Kubernetes Monitoring

Monitor Kubernetes with metrics-server, Prometheus, Grafana and kube-state-metrics, plus logging, tracing, alerting and the golden signals.

KubernetesDevOpsMonitoringPrometheusGrafanaObservabilityInterview Preparation

DevOps

Kubernetes Troubleshooting

Diagnose common Kubernetes failures step by step: CrashLoopBackOff, ImagePullBackOff, Pending Pods, OOMKilled and Services with no endpoints.

KubernetesDevOpsTroubleshootingkubectlCrashLoopBackOffInterview Preparation

DevOps

Kubernetes Production Best Practices

Production Kubernetes checklist: resources, probes, high availability, security, configuration, deployments, observability and cost control.

KubernetesDevOpsBest PracticesProductionReliabilitySecurityInterview Preparation