Dustin C. Hatch 0af625cea1 crio-clean: Add script to clean container storage
I've noticed that from time to time, the container storage volume seems
to accumulate "dangling" containers.  These are paths under
`/var/lib/containers/storage/overlay` that have a bunch of content in
their `diff` sub-directory, but nothing else, and do not seem to be
mounted into any running containers.  I have not identified what causes
this, nor a simple and reliable way to clean them up.  Fortunately,
wiping the entire container storage graph with `crio wipe` seems to work
well enough.

The `crio-clean.sh` script takes care of safely wiping the container
storage graph on a given node.  It first drains the node and then stops
any running containers that were left.  Then, it uses `crio wipe` to
clean the entire storage graph.  Finally, it restarts the node, allowing
Kubernetes to reschedule the pods that were stopped.
2025-12-01 14:28:35 -06:00
2025-09-07 08:27:19 -05:00
2025-09-06 22:57:05 -05:00
2025-08-08 11:00:27 -05:00
2025-11-22 12:32:08 +00:00
2025-11-13 18:35:51 -06:00
2022-12-18 16:26:07 -06:00
2024-05-26 11:48:12 -05:00
2025-09-07 08:27:19 -05:00
2025-11-22 12:32:12 +00:00
2025-11-22 12:32:10 +00:00
2023-10-19 07:12:16 -05:00
2024-02-22 07:10:01 -06:00
2025-07-21 18:58:57 -05:00
2025-10-17 09:15:35 -05:00
2023-07-08 07:06:10 -05:00
2024-11-21 22:59:14 -06:00
2025-11-22 09:47:05 -06:00
2025-08-02 11:32:29 +00:00
2025-07-29 21:38:06 -05:00
2022-07-31 01:38:46 -05:00

Dustin's Kubernetes Cluster

This repository contains resources for deploying and managing my on-premises Kubernetes cluster

Cluster Setup

The cluster primarily consists of libvirt/QEMU+KVM virtual machines. The Control Plane nodes are VMs, as are the x86_64 worker nodes. Eventually, I would like to add Raspberry Pi or Pine64 machines as aarch64 nodes.

All machines run Fedora, using only Fedora builds of the Kubernetes components (kubeadm, kubectl, and kubeadm).

See Cluster Setup for details.

Jenkins Agents

One of the main use cases for the Kubernetes cluster is to provide dynamic agents for Jenkins. Using the Kubernetes Plugin, Jenkins will automatically launch worker nodes as Kubernetes pods.

See Jenkins Kubernetes Integration for details.

Persistent Storage

Persistent storage for pods is provided by Longhorn. Longhorn runs within the cluster and provisions storage on worker nodes to make available to pods over iSCSI.

See Persistent Storage Using Longorn for details.

Description
Resources for deploying and managing my personal Kubernetes cluster
Readme 3.9 MiB
Languages
Shell 80.5%
JavaScript 17.2%
Awk 2.3%