Your DevOps study space

Real explanations. Videos with tests. Fresh exams every time. Keep the streak alive and watch the XP stack up.

Objects, manifests & kubectl · Kubernetes Docs · StackwisePlanDevOps Objects, manifests & kubectl · Kubernetes Docs · StackwiseCodePython Objects, manifests & kubectl · Kubernetes Docs · StackwiseBuildDocker Objects, manifests & kubectl · Kubernetes Docs · StackwiseTestDevOps Objects, manifests & kubectl · Kubernetes Docs · StackwiseReleaseGit Objects, manifests & kubectl · Kubernetes Docs · StackwiseDeployKubernetes Objects, manifests & kubectl · Kubernetes Docs · StackwiseOperateLinux Objects, manifests & kubectl · Kubernetes Docs · StackwiseMonitorDevOps

Pick a topic

Eight tracks, each with docs, a cheat sheet, videos and tests.

How it works

One loop, repeated until it sticks.

Jump back in

Picked up from where you left off.

Free forever

Your DevOps journey starts with one click.

Sign in with Google or GitHub to open every chapter, video, test and challenge. Your progress is saved wherever you learn.

Objects, manifests & kubectl

You never tell Kubernetes "start this container on that server". You describe objects (a Deployment with 3 replicas, a Service in front of it) in YAML files, hand them to the cluster, and let the control plane work out the rest.

The main objects

  • Pod: the smallest unit, one (sometimes a few tightly coupled) containers sharing an IP. Pods are disposable and get replaced, never repaired.
  • Deployment: manages identical pods for a stateless app: how many replicas, which image, how to roll out updates. You almost never create pods directly; you create a Deployment.
  • StatefulSet: like a Deployment, but for databases and other stateful apps, giving each pod a stable name and its own storage.
  • Service: a stable name and IP in front of a changing set of pods, load-balancing between them.
  • Ingress: routes outside HTTP/HTTPS traffic to Services by hostname or path.
  • ConfigMap and Secret: configuration and sensitive values kept outside the image and passed to pods as environment variables or files. Secrets are only base64-encoded by default, not encrypted, so access to them must be restricted.
  • Volume / PersistentVolumeClaim: storage that outlives a pod.
  • Namespace: a way to divide one cluster into separate areas (per team or per environment).

Manifests: describing what you want

Objects are written as YAML files with four parts: apiVersion, kind, metadata (name, labels) and spec (the desired state). Labels and selectors connect things: the Service finds its pods because they carry the label it selects.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: web
spec:
  replicas: 3                        # keep 3 pods running
  selector:
    matchLabels: {app: web}
  template:                          # the pod blueprint
    metadata:
      labels: {app: web}
    spec:
      containers:
        - name: web
          image: demee/app:1.0
          ports: [{containerPort: 3000}]
          envFrom: [{configMapRef: {name: web-config}}]
---
apiVersion: v1
kind: Service
metadata:
  name: web
spec:
  selector: {app: web}               # send traffic to pods labelled app=web
  ports: [{port: 80, targetPort: 3000}]

kubectl: talking to the cluster

$ kubectl apply -f web.yaml          # create/update to match the file
$ kubectl get pods                   # also: deployments, services, nodes, all
$ kubectl describe pod web-6d9f...   # details and recent events (why it's failing)
$ kubectl logs -f web-6d9f...        # container output
$ kubectl exec -it web-6d9f... -- sh # shell inside the pod
$ kubectl scale deployment web --replicas=5
$ kubectl set image deployment/web web=demee/app:1.1   # rolling update
$ kubectl rollout undo deployment/web                   # roll back
$ kubectl delete -f web.yaml

What happens when you apply a file

1 kubectl applysends the manifest2 API serverchecks, saves to etcd3 controllersDeployment -> 3 pods4 schedulerpicks a node each5 kubeletpulls image, starts6 Serviceendpoints updated
Six components, one shared source of truth. Each one watches the API server for work and writes its result back there.

kubectl apply sends the manifest to the API server, which checks it and saves it in etcd. The Deployment controller notices the new desired state and creates a ReplicaSet, which creates 3 pod objects. The scheduler sees pods with no node yet and assigns each one to a node with room. On those nodes the kubelet sees its new pods, tells the container runtime to pull the image and start the containers, and reports back. Finally the Service's endpoint list is updated so traffic reaches the new pods. Nothing talks to a node directly: every step goes through the API server.

Questions

Pick an answer. Get it wrong and you can try again right away, no waiting. 10 questions per topic - pick a filter below, then use Recreate questions for a fresh set on that topic.

Fresh questions every time

Exam

A mixed test across the whole site, shuffled so you never know which topic comes next. When you submit, every mistake comes with the reason and a jump to the exact moment in the video that explains it.

30 questions 6 topics 20 minute limit Up to 70 XP
1–4 answer · ←→ move
History

Essay

0 / 200-250 words
Sample answer
History
0:00 / 0:00
Not started

on YouTube
Subscribe

Topic progress

Activity

Achievements

Settings

Your profile and your account.

Profile details

* Required. Saved in this browser until you sign in.

Letters, numbers, dots, dashes and underscores.
0 / 160

Account

Checking…

App

Install Stackwise on your phone or computer. It opens in its own window from your home screen, and the Docs and cheat sheets you've opened keep working without internet.

Only admins can see this

Dashboard

Sign-ups, activity, messages and reviews in one place.

Prove it

Certificates

Pass a topic's test and get a certificate with its own public page you can share or add to LinkedIn. Each test is 10 questions drawn at random and graded on the server; you need 8 right, you have 15 minutes, and you get one try per topic a day.

From first command to production

Linux for DevOps

A path through Linux the way DevOps engineers use it: ten stages, every command explained with its flags, examples, real output and mistakes, the combinations engineers chain together, and incidents worked through step by step. Practise everything in a safe lab folder.

Before the interview

Interview prep

Questions that come up in real DevOps interviews, with the kind of answer that lands. Say yours out loud first, then compare. Each one links to the chapter that goes deeper.

    Private to you

    My notes

    Everything you wrote down while watching and reading, in one place. Saved to your account, never shown to anyone.