Docs · DoCatz

Kubernetes

A one-node Kubernetes cluster (k3s) on DoCatz's engine, in beta — turning it on, images from docker build without a registry, Services on localhost and at their own https:// names, the Pods, Services and Deployments page, kubectl, stopping and removing it.

DoCatz can run a small Kubernetes cluster for you: one node, k3s, on the same engine as your containers. It is in beta, off by default, and off again any time. Open it with Kubernetes in the rail, between Builds and Engine.

It works on every engine DoCatz has: Standard and Lite on a Macthe WSL 2 engine on Windows, Standard or Liteyour system’s Docker Engine on Linux.

Turn it on

While the cluster is off, the page says what it is:

  • One node (k3s) on DoCatz’s engine — nothing else to install.
  • Its pods are containers of the same Docker: an image from docker build runs at once, with no registry.
  • Every Service answers at <name>.<namespace>.k8s.docatz.localhost; a LoadBalancer also opens on localhost at its own port, a NodePort at its node port.
  • About 500 MB of memory while it is on, and a download of about 90 MB the first time.

Turn on downloads k3s the first time and starts the cluster: about ten seconds once the image is there, longer the very first time. The engine has to be running.

Under the hood the cluster is one container, docatz-k8s, on a network of its own, with its API on 127.0.0.1:6443. Its pods run with --docker, so they are containers of DoCatz’s own Docker. The cluster’s container and its pods are kept out of the Containers list: they live on this page.

Images you just built

Because pods use the images on DoCatz’s engine, there is nothing to push. Build an image as usual and use it in a pod or deployment with imagePullPolicy: Never (or IfNotPresent):

docker --context docatz build -t catz-shop/web:dev .
kubectl apply -f deployment.yaml   # image: catz-shop/web:dev, imagePullPolicy: Never

Open a Service

Every Service is reachable from your computer:

  • LoadBalancer — on localhost at its own port; the Service gets localhost as its external address.
  • NodePort — on localhost at its node port.
  • ClusterIP — no port on localhost; it answers by its name only (the port table says by its name).

And each one answers at its name, https://<name>.<namespace>.k8s.docatz.localhost, through the same proxy as every container’s name. The ending follows your domain settings, and the name carries :8743 until you turn on names without a port. A ClusterIP Service’s name goes to its web port; the ClusterIP Services k3s runs for itself (in kube-system and the other system namespaces, and the API’s own kubernetes) get no name. The Services list shows the port that is really open.

A small forwarder container, docatz-k8s-lb, does the publishing; DoCatz recreates it when the Services or their ports change. When a port is already taken on your computer, that Service is left out and the page names it; it opens as soon as the port is free. To give a ClusterIP Service a port on localhost too, the page suggests kubectl expose … --type=LoadBalancer (its own port) or NodePort (the node port).

The Kubernetes page

While the cluster runs, the page has a list on the left and a pane on the right, like Containers:

  • Pods, Services and Deployments, grouped by namespace, with a filter. System shows or hides what k3s runs for itself (kube-system).
  • A pod — its state, its containers with their state, restarts and ports, its labels, its Logs, and Delete.
  • A Service — its type, ports and address with Open, and Pods it sends to.
  • A Deployment — its replicas and its pods.

Each pane links to the next: from a Service to its pods, from a pod to its deployment. Above the list, tiles count Pods running, Deployments, Services and what is Open on localhost; below them come the kubectl lines and Remove the cluster.

kubectl

DoCatz writes the cluster’s kubeconfig to ~/.docatz/kube/config, with the context docatz. It never changes your own ~/.kube/config. The page shows the line to use it, with Copy and Show the file:

export KUBECONFIG="$HOME/.kube/config:$HOME/.docatz/kube/config"
kubectl config use-context docatz
$env:KUBECONFIG = "$HOME\.kube\config;$HOME\.docatz\kube\config"
kubectl config use-context docatz

No kubectl yet? Install kubectl downloads it (about 55 MB, version 1.37, checked against a pinned checksum) into DoCatz’s bin folder, next to docker.

Stop, start and remove

  • Stop stops the cluster; its pods go. Start brings it back, with your deployments.
  • After an engine restart the cluster comes back by itself.
  • Remove the cluster deletes the cluster and everything in it — its pods, volumes and settings — after you type delete. Your Docker containers, images and volumes stay.
  • While the cluster runs, the engine’s idle sleep waits: a running cluster is never put to sleep. The page does not wake a sleeping engine just to look.

With MCatzP

An AI assistant connected through MCatzP can read the cluster at once (get_kubernetes, list_kubernetes_workloads, get_pod_logs). Starting or stopping it, deleting a pod and removing the cluster (start_kubernetes, stop_kubernetes, delete_pod, remove_kubernetes) wait for your OK in DoCatz.

Limits

  • It is beta: one node, made for trying things on your own computer, not for production.
  • Only LoadBalancer and NodePort Services get a port on localhost; a ClusterIP Service answers by its name only.
  • It takes about 500 MB of memory while it runs. Turn it off when you are done.

Last updated 2026-11-30