Blog

Latest Articles

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

2342 articles

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

How to check last password change date of user in Linux/Unix

check last password change date in Linux check password expiration, check password status of system and active directory user. chage command examples.

Deepak Prasad6 min read
devops

Kubernetes Operator with controller-runtime: Status, Finalizers, Webhooks, and Drift

Part 2 of 3: extend a DemoApp Operator SDK project with ConfigMap, Service, Deployment, status Conditions, finalizers, drift via Owns/Watches, mutating/validating webhooks, Events, and RBAC markers.

Deepak Prasad19 min read
devops

Go Kubernetes Operator SDK Tutorial: Build a Controller from Scratch

Part 1 of 3: scaffold a Go operator with Operator SDK (go/v4), CRDs from Kubebuilder markers, RBAC, idempotent Reconcile with CreateOrUpdate, owner references, and deploy to kind.

Deepak Prasad16 min read
devops

Server-Side Apply (SSA) in Kubernetes Operators

Server-Side Apply (SSA) is the modern way for operators to express ownership of fields in a Kubernetes object. Instead of doing a full Update with a stale copy of the object, the operator sends only the fields it cares …

Deepak Prasad24 min read
devops

Multi-Tenant Kubernetes Operator Patterns: Per-Namespace Leases and Listers

Multi-tenant operators come in three shapes: one operator serving all tenants (shared, simple, weakest isolation), one operator per tenant (isolated, expensive, strongest isolation), and the hybrid — one operator binary …

Deepak Prasad15 min read
devops

Operator Leader Election Explained: HA Operators with Lease Locks

A complete guide to running a multi-replica Kubernetes operator with leader election: how the lease-based lock works, the four manager options (`LeaderElection`, `LeaderElectionID`, `LeaderElectionResourceLock`, …

Deepak Prasad15 min read
devops

Operator Health and Readiness Probes: /healthz, /readyz, AddHealthzCheck

A practical guide to liveness and readiness probes for Kubernetes operators: what `/healthz` and `/readyz` should report, how to register custom checks with `mgr.AddHealthzCheck` and `mgr.AddReadyzCheck`, the difference …

Deepak Prasad16 min read
devops

Kubernetes Operator Watches, Events, and Predicates Explained

Learn how Kubernetes Operator watches, events, handlers, and predicates decide which changes trigger Reconcile, with Owns vs Watches examples.

Deepak Prasad14 min read
devops

Multi-Resource Reconciliation: Managing N Child Resources per CR

Most real operators do not manage one child — they manage five, ten, sometimes dozens of children per CR: a Deployment, a Service, two ConfigMaps, a HorizontalPodAutoscaler, a NetworkPolicy, a ServiceAccount, a …

Deepak Prasad18 min read
devops

Kubernetes Status Subresource and Conditions Explained (KEP-1623)

The status subresource is the API server endpoint controllers use to publish observed state without racing user edits on `.spec`. This guide explains why the split exists, the KEP-1623 Conditions standard (Ready / …

Deepak Prasad18 min read
devops

The Kubernetes Reconcile Loop Explained: From API Event to Reconcile()

Learn how the Kubernetes reconcile loop works from API watch to informer cache, workqueue, and Reconcile(). Covers level-triggered control, Result return paths, requeue behavior, idempotency, concurrency, and hot loop …

Deepak Prasad15 min read
devops

Kubernetes Operator Capability Levels I–V: The Operator Maturity Model

Red Hat's five operator capability levels - Basic Install, Seamless Upgrades, Full Lifecycle, Deep Insights, Auto Pilot - are the maturity scale used by OperatorHub and OLM. This guide explains what each level means, …

Deepak Prasad16 min read
devops

Kubernetes Operator Design Patterns: Singleton, Capability, Lifecycle, Auto-Pilot

Kubernetes Operators are not one shape - six distinct design patterns cover the entire range of production deployments: Singleton, Capability, Lifecycle, Auto-Pilot / Auto-Tune, Sidecar-Injecting, and GitOps-Controlled. …

Deepak Prasad16 min read
devops

Mutating and Validating Admission Webhooks in Operators

A complete guide to admission webhooks for Kubernetes operators: the difference between mutating and validating, the webhook lifecycle inside the API server, how kubebuilder scaffolds …

Deepak Prasad18 min read
devops

Kubernetes Finalizers: Two-Phase Deletion, Cleanup Patterns, and Stuck Objects

A Kubernetes finalizer is a string on `metadata.finalizers` that tells the API server to keep an object alive (with `deletionTimestamp` set) until your controller has finished cleanup and removed the string. This …

Deepak Prasad18 min read
devops

Helm-Based Operator vs Flux vs Argo CD: Which to Use

Three tools install Helm charts on a Kubernetes cluster: a Helm-based operator (per-CR Helm install), Flux's HelmRelease (HelmRelease CR + per-source reconciler), and Argo CD's Application (Application CR + sync engine). …

Deepak Prasad10 min read
devops

Drift Detection Patterns in Kubernetes Operators: Periodic Resync vs Spec Diffing

A Kubernetes operator detects drift in four layered ways: watch-based reconciliation, periodic resync with SyncPeriod, three-way spec diffing with client.Patch or Server-Side Apply, and external polling for resources …

Deepak Prasad14 min read
devops

Desired State vs Actual State in Kubernetes: The Level-Triggered Model

In Kubernetes, the desired state is what you declared in `.spec`, the actual state is what currently exists in the cluster, and the controller's job is to continuously reconcile the two. This guide explains why …

Deepak Prasad11 min read
devops

Helm Hybrid Operator Tutorial Part 1 of 2 - Build the Foundation (Go + Helm v4 SDK)

A Helm hybrid operator is a Go operator whose Reconcile calls the Helm SDK (v4) directly - the pre-built helm-operator, written by you, with full control. Part 1 of 2 walks the foundation: scaffold with operator-sdk init …

Deepak Prasad34 min read
devops

Helm Hybrid Operator Tutorial Part 2 of 2 - Custom Status, Finalizer, Drift, Cross-CR

Part 2 of the Helm hybrid operator tutorial: the features the pre-built helm-operator binary cannot provide, written in roughly 200 lines of Go on top of the foundation built in Part 1. Custom status fields including a …

Deepak Prasad24 min read
devops

Helm-Based Operator Tutorial Part 1 - Build the Operator (Chart, CRD, watches.yaml)

A Helm-based operator wraps a Helm chart as a Kubernetes operator without you writing any Go code. The Operator SDK ships a generic reconciler that watches a CR, maps its `.spec` to Helm values, and runs `helm install` / …

Deepak Prasad31 min read
devops

Owner References and Garbage Collection in Kubernetes Operators

A complete guide to owner references and Kubernetes garbage collection for operators: the contract between an owner and its dependents, the difference between `SetControllerReference` and `SetOwnerReference`, three …

Deepak Prasad13 min read
devops

Install Operator-SDK on Linux: Complete Setup Guide (Go, kubectl, Helm 4, kind, ttl.sh registry)

A complete step-by-step guide to installing Operator-SDK on Linux (Ubuntu, RHEL, Fedora, Debian), including the prerequisite toolchain (Go 1.22+, kubectl, container runtime, Helm 4 CLI, kind), the three Operator-SDK …

Deepak Prasad15 min read
devops

Kubernetes Operator vs Controller vs CRD: What's the Difference?

A Custom Resource Definition (CRD) is the API contract, a Controller is the reconciler that watches and acts on it, and an Operator is the combination of a CRD plus a controller plus domain-specific knowledge about a …

Deepak Prasad10 min read
devops

What is a Kubernetes Operator?

A Kubernetes Operator is a custom controller paired with a Custom Resource Definition (CRD) that automates the day-2 operations of a complex application - install, upgrade, backup, failover, scaling - by continuously …

Deepak Prasad12 min read
cloud

AWS Tutorial for Beginners - End-to-End Cloud Hands-On

Free, hands-on AWS tutorial covering CLI, EC2, S3, RDS, Lambda, DynamoDB, CloudFormation, CDK, Application Load Balancer, Elastic Beanstalk, CI/CD, and Amplify. 25+ production-tested lessons.

Deepak Prasad1 min read
security

Ethical Hacking & Penetration Testing Tutorial (Hands-On)

Free, hands-on ethical hacking and penetration testing tutorial - lab setup, reconnaissance, password cracking, phishing, web/mobile pentesting, MITM attacks, and exploitation frameworks. 80+ practical lessons.

Deepak Prasad1 min read
devops

Git & GitHub Tutorial for Beginners (with examples)

Free, hands-on Git and GitHub tutorial that walks you from `git init` to advanced rebase, stash, and history rewriting in 14 chapters. 60+ examples tested on Linux, macOS, and Windows.

Deepak Prasad1 min read
programming

Laravel Tutorial for Beginners (Step by Step)

Free, hands-on Laravel tutorial - install, routes, Eloquent ORM, Blade templates, authentication, Sanctum/Passport, validation, file storage, queues, mail, and production deployment. 40+ tested lessons.

Deepak Prasad1 min read
cloud

Microsoft Azure Tutorial for Beginners (Hands-On)

Free, hands-on Microsoft Azure tutorial covering App Service, AKS, Blob Storage, Backup, VPN, ARM Templates, Logic Apps, Cosmos DB, and Azure AD. 30+ production-tested lessons.

Deepak Prasad1 min read