All guides

In 2026, Don't Learn 40 DevOps Tools. Learn These 3

Kubernetes, Terraform and GitHub Actions cover most day-to-day DevOps work, and knowing them well makes the rest of the tool landscape easier to learn.

By Roman · · 5 min read

kubernetes, terraform, github-actions

The CNCF landscape lists over a thousand projects; most DevOps jobs need three. Read job postings for platform and DevOps roles and the same stack keeps showing up: containers on Kubernetes, infrastructure in Terraform, pipelines in GitHub Actions. Learn those three properly and most other tools look like variations of something you already know.

This assumes you are comfortable with Linux, Git and one cloud provider. Those are the foundation the three tools sit on.

TL;DR

  • Learn Kubernetes from the user side: Deployments, Services, resource requests, probes and how to debug a failing pod. Skip running your own control plane.
  • Learn Terraform’s workflow and state: remote state with locking, and apply only a plan saved with plan -out. The same skills work in OpenTofu.
  • Learn GitHub Actions as a CI/CD pipeline: test every pull request, build an image per commit and deploy on merge.
  • When a new tool shows up, ask which of the three it replaces or extends.

Why three tools beat forty

Tool sprawl leaves you knowing ten tools at tutorial depth and none at incident depth. At 3 a.m. nobody asks whether you have tried Pulumi, Nomad and Spinnaker. They ask why the pods are in CrashLoopBackOff and whether the Terraform plan is safe to apply.

Most of the landscape maps onto these three:

Tool you will meet Covered by
Docker, Podman, image builds A prerequisite: Kubernetes runs the images you build
Helm, Kustomize, Argo CD Kubernetes manifests, packaged or synced
CloudFormation, Pulumi, OpenTofu Terraform concepts: state, plan, providers
Jenkins, GitLab CI, CircleCI GitHub Actions concepts: triggers, jobs, runners, secrets
Ansible for server config Less needed once nodes are disposable

Kubernetes: where your software runs

The problem: Kubernetes is the default compute framework to run containers once a company has more than a few services, usually as a managed service (EKS, GKE, AKS). If you can’t read a manifest or debug a pod, you depend on someone else for every deploy.

The fix is user-level fluency. A Deployment with resource requests and a readiness probe, plus a Service in front of it, is most of what you will write:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: api
spec:
  replicas: 3
  selector:
    matchLabels: {app: api}
  template:
    metadata:
      labels: {app: api}
    spec:
      containers:
        - name: api
          image: ghcr.io/acme/api:1.4.2
          ports:
            - containerPort: 8080
          resources:
            requests: {cpu: 250m, memory: 256Mi}
            limits: {memory: 256Mi}  # no CPU limit avoids throttling
          readinessProbe:
            httpGet: {path: /healthz, port: 8080}
---
apiVersion: v1
kind: Service
metadata:
  name: api
spec:
  selector: {app: api}
  ports:
    - port: 80
      targetPort: 8080

Then practice the debugging loop until you can do it without thinking:

kubectl get pods -l app=api
kubectl describe pod <pod-name>       # Events: image pull errors, OOMKilled, failed probes
kubectl logs <pod-name> --previous    # logs from the container that just crashed
kubectl get events --sort-by=.lastTimestamp
kubectl rollout undo deployment/api   # back to the previous ReplicaSet

Skip etcd, writing operators and building clusters by hand at first; the managed service runs the control plane.

When not to use it: a small team with two or three stateless services is usually better off on ECS, Cloud Run or Azure Container Apps. Still learn Kubernetes; just don’t force it onto every project.

Terraform: how your infrastructure is defined

The problem: infrastructure clicked together in a console can’t be reviewed, reproduced or rolled back. Terraform is the most widely used way to declare cloud resources as code.

Since 1.6 (2023), Terraform ships under the Business Source License; OpenTofu is the open-source fork with a compatible CLI and HCL. Learn either; the skills transfer.

The part people get wrong is state. Put it in a remote backend with locking from day one:

terraform {
  required_version = ">= 1.11"
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 6.0"
    }
  }
  backend "s3" {
    bucket       = "acme-tfstate"
    key          = "prod/core.tfstate"
    region       = "eu-west-1"
    use_lockfile = true # S3-native locking, no DynamoDB table needed
  }
}

provider "aws" {
  region = "eu-west-1"
}

resource "aws_s3_bucket" "artifacts" {
  bucket = "acme-build-artifacts"
}

use_lockfile needs Terraform 1.11+ (or OpenTofu 1.10+); older setups use a DynamoDB table for locks. The daily workflow:

terraform init
terraform fmt -check && terraform validate
terraform plan -out=tfplan
terraform apply tfplan   # applies exactly the plan you reviewed

Read every plan for must be replaced and destroy. A renamed resource or a changed immutable field can delete a database, and the plan is the only warning you get. Use a moved block when you rename a resource, so Terraform doesn’t destroy and recreate it.

When not to use it: don’t manage what runs inside Kubernetes with Terraform. Use Helm or Argo CD for workloads and keep Terraform for the cluster, network, IAM and managed services.

GitHub Actions: how changes get shipped

The problem: running Kubernetes and Terraform changes from laptops is cumbersome and leaves no trace, with no log of who changed what or when. A pipeline tests every change before it ships, deploys it the same way every time and records each run. GitHub Actions is the default for code hosted on GitHub, and its model (events trigger jobs on runners) maps directly onto GitLab CI and others.

Learn the basic CI/CD shape first: test every pull request, build an image tagged with the commit SHA, and deploy it on merge to main.

name: ci-cd
on:
  pull_request:
  push:
    branches: [main]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
      - run: make test
  build:
    needs: test
    if: github.event_name == 'push'
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write
    steps:
      - uses: actions/checkout@v7
      - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
      - run: |
          docker build -t ghcr.io/acme/api:${{ github.sha }} .
          docker push ghcr.io/acme/api:${{ github.sha }}
  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment: production   # can require a reviewer before the job starts
    concurrency: production   # one deploy at a time
    steps:
      - run: echo "$KUBECONFIG_DATA" > "$RUNNER_TEMP/kubeconfig"
        env:
          KUBECONFIG_DATA: ${{ secrets.KUBECONFIG }}
      - run: |
          export KUBECONFIG="$RUNNER_TEMP/kubeconfig"
          kubectl set image deployment/api api=ghcr.io/acme/api:${{ github.sha }}
          kubectl rollout status deployment/api --timeout=5m

needs chains the jobs, so nothing deploys unless the tests pass. Tagging the image with the commit SHA means every deploy points at an exact commit. Rolling back is a redeploy of the previous SHA, or kubectl rollout undo. The production environment holds the cluster credentials and can require a reviewer, and concurrency stops two merges from deploying over each other. rollout status fails the job if the new pods never become ready, so a broken release shows up as a red pipeline.

Pin third-party actions to a commit SHA: in March 2025 the popular tj-actions/changed-files action was compromised by repointing its tags to malicious code.

When not to use it: if your code lives in GitLab or Azure DevOps, learn that platform’s CI instead. Same concepts, different YAML.

How the three fit together

A push triggers Actions. Actions runs Terraform to provision the cloud account and the cluster, then deploys the workload to Kubernetes (directly or through Argo CD).

A push triggers GitHub Actions, which runs Terraform and deploys pods to Kubernetes.

Build this loop end to end once, on a personal cloud account with a small managed cluster, and you have practiced most of what the job asks for.

Official documentation