Blog

Latest Articles - Page 34

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Cloud: AWS, Azure, OpenStack, and hybrid cloud administration
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • Tools: Useful tools and utilities for productivity

3098 articles

Blog illustration with latest articles, tutorials, guides, and how-to content across Linux and DevOps topics
devops

Build, Tag and Push Container Images for Kubernetes

Build a container image with Podman or Docker, tag and push it to a registry, and reference it from a Kubernetes Pod or Deployment with imagePullPolicy.

Deepak Prasad19 min read
devops

Troubleshoot a Kubernetes Service That Is Not Working

Troubleshoot a Kubernetes Service that does not route traffic by testing Pod IP, EndpointSlices, ClusterIP, DNS, and external exposure in an inside-out workflow.

Deepak Prasad15 min read
devops

Fix a Kubernetes Deployment Not Creating Pods

Diagnose a Kubernetes Deployment that creates no Pods by checking replicas, ReplicaSets, FailedCreate events, selectors, quotas, and admission errors.

Deepak Prasad11 min read
devops

Delete a Stuck or Terminating Kubernetes Pod

Delete a Kubernetes Pod stuck in Terminating by checking grace periods, preStop hooks, finalizers, node reachability, and force-deletion risks.

Deepak Prasad12 min read
devops

Fix Kubernetes Pods Stuck in Pending or ContainerCreating

Fix Kubernetes Pods stuck in Pending or ContainerCreating using scheduling conditions, Events, PVCs, mounts, sandbox checks, image errors, and init logs.

Deepak Prasad14 min read
devops

Fix Kubernetes ImagePullBackOff and ErrImagePull

Diagnose and fix Kubernetes ImagePullBackOff and ErrImagePull using Pod events, image references, pull Secrets, policies, TLS, DNS, and platform checks.

Deepak Prasad14 min read
devops

Fix Kubernetes CrashLoopBackOff Errors

Diagnose Kubernetes CrashLoopBackOff using restart counts, events, previous logs, exit codes, commands, probes, configuration, dependencies, and OOM signals.

Deepak Prasad17 min read
devops

Kubernetes Pod Troubleshooting Workflow

Troubleshoot Kubernetes Pods using STATUS, conditions, events, logs, exit codes, image checks, probes, volumes, scheduling, and Service routing.

Deepak Prasad12 min read
devops

Kubernetes DNS Troubleshooting: Services, CoreDNS and Name Resolution

Troubleshoot Kubernetes DNS using Service names, resolv.conf, ndots, CoreDNS health, forwarding, NXDOMAIN, SERVFAIL, and timeout checks.

Deepak Prasad18 min read
devops

Kubernetes Architecture: Control Plane and Worker Node Components

Learn how Kubernetes control plane and worker node components work together, from kube-apiserver and etcd to kubelet and CRI, and trace a Deployment from kubectl apply to running Pods and Service endpoints.

Deepak Prasad15 min read
devops

Kubernetes NetworkPolicy with Examples

Isolate Kubernetes Pods with NetworkPolicy default-deny rules, allow ingress and egress with podSelector and namespaceSelector, permit DNS, and verify allowed and blocked paths between namespaces.

Deepak Prasad20 min read
devops

Kubernetes Services, Endpoints and EndpointSlices

Create Kubernetes ClusterIP, NodePort, LoadBalancer and headless Services, inspect EndpointSlices, and see how selectors and readiness control traffic.

Deepak Prasad17 min read
devops

kubectl port-forward with Pods, Deployments and Services

Use kubectl port-forward to reach Pod, Deployment, and Service ports on your workstation for temporary local testing without NodePort, LoadBalancer, or Ingress.

Deepak Prasad11 min read
devops

Kubernetes Ingress Rules with Host, Path and TLS Examples

Configure Kubernetes Ingress rules for host-based and path-based HTTP routing, choose ingressClassName and pathType, add TLS with a Secret, and verify traffic reaches the right Service.

Deepak Prasad16 min read
devops

Fix Kubernetes OOMKilled and Exit Code 137

Diagnose Kubernetes OOMKilled and exit code 137 using termination reasons, cgroup debugging inside the container, node dmesg, memory limits, QoS, kubectl top, and controlled OOM tests.

Deepak Prasad22 min read
devops

Linux Capabilities in Kubernetes

Inspect Linux capabilities in Kubernetes, drop ALL runtime defaults, add back CHOWN or NET_BIND_SERVICE, and compare capabilities with privileged mode.

Deepak Prasad10 min read
devops

Kubernetes command and args, Environment Variables and Downward API

Learn Kubernetes command and args overrides, environment variables, ConfigMap and Secret references, and Downward API fields with practical examples.

Deepak Prasad15 min read
devops

Kubernetes ServiceAccounts with Examples

Create a Kubernetes ServiceAccount, inspect projected tokens, request short-lived credentials, disable automount, and verify identity and RBAC authorization.

Deepak Prasad10 min read
devops

Kubernetes RBAC with Examples

Create Kubernetes Role and ClusterRole rules, bind them to ServiceAccounts, verify permissions with kubectl auth can-i, and troubleshoot forbidden API errors.

Deepak Prasad10 min read
devops

Kubernetes ConfigMap with Examples

Create Kubernetes ConfigMaps from literals, files, and YAML, then inject configuration into Pods with configMapKeyRef, envFrom, and read-only volume mounts.

Deepak Prasad13 min read
devops

Kubernetes ResourceQuota and LimitRange with Examples

Apply Kubernetes ResourceQuota and LimitRange in one namespace, trigger admission failures, inject default requests and limits, and read hard versus used quota consumption.

Deepak Prasad13 min read
devops

Kubernetes SecurityContext with Practical Examples

Configure Kubernetes SecurityContext with practical non-root, fsGroup, read-only filesystem, privilege-escalation, and RuntimeDefault seccomp examples.

Deepak Prasad12 min read
devops

Kubernetes Authentication, Authorization and Admission Control

Follow a kubectl apply request through Kubernetes authentication, authorization, and admission control, and learn how 401 and 403 responses map to each stage.

Deepak Prasad11 min read
devops

Kubernetes Secrets with Examples

Create Kubernetes Secrets from literals, files, and YAML; consume them with secretKeyRef, envFrom, and volumes; and create TLS and registry Secrets.

Deepak Prasad12 min read
devops

Kubernetes Requests, Limits and QoS Classes

Configure Kubernetes CPU and memory requests, limits, and QoS classes, and understand scheduling, throttling, OOM behaviour, and Pod-level resources.

Deepak Prasad16 min read
devops

How ConfigMap and Secret Updates Reach Running Pods

Learn when Kubernetes updates ConfigMap and Secret values inside running Pods, why environment variables stay fixed, how volume projection works, and when to roll out new Pods.

Deepak Prasad11 min read
devops

Debug Kubernetes Pods with kubectl exec and kubectl debug

Use kubectl exec for running containers with a shell, then kubectl debug ephemeral containers and --copy-to for distroless images, crash loops, and isolated debug Pods.

Deepak Prasad9 min read
devops

kubectl logs, Events and describe with Examples

Use kubectl get, describe, events, and logs to inspect Pod status, warning events, multi-container output, previous logs, and container restart failures.

Deepak Prasad18 min read
devops

Monitor Kubernetes Pods and Nodes with kubectl top

Install Metrics Server and use kubectl top to monitor CPU and memory for Kubernetes nodes, Pods, and containers with sorting and troubleshooting examples.

Deepak Prasad12 min read
devops

Kubernetes Liveness, Readiness and Startup Probes

Configure Kubernetes liveness, readiness, and startup probes with HTTP, TCP, exec, and gRPC examples, failure tests, and timing guidance.

Deepak Prasad11 min read