Skip to content

Config and Storage

Application configuration and persistent storage are the two foundations of any workload running on Kubernetes. This section covers Kuboard's "application config" and "storage" resource types, along with related snapshot and CSI (Container Storage Interface) capabilities.

Quick Navigation

SectionContentWhen to Read
ConfigMap / SecretCreating, editing and referencing application config and secretsInject configuration and manage credentials
PVC / PV / StorageClassPersistent volume claim, persistent volume and storage classPersistent storage for stateful workloads
VolumeSnapshot / CSIVolume snapshots, CSI drivers, cloningBackup, migration and capacity expansion
  1. Application config first — read ConfigMap / Secret and learn how to reference them from a Deployment or StatefulSet;
  2. Persistent storage — read PVC / PV / StorageClass to understand how the three relate, and pick the right StorageClass;
  3. Data protection — add VolumeSnapshot / CSI for snapshots and clones on critical stateful workloads.

Secret hygiene

Once a Secret is referenced by a workload, its content is exposed inside the Pod as files or environment variables. Grant users the minimal privilege on the secrets resource in Users and Authentication, and protect administrator accounts with MFA.