Kubernetes Operator
A Kubernetes Operator is a program that runs inside your cluster and does the job a human operator would do for one piece of software. You write down what you want in a custom resource (for example, a PostgreSQL cluster with 3 replicas). The Operator keeps watching the cluster, compares what exists with what you asked for, and creates, repairs or upgrades things until the two match.

See also Kubernetes PersistentVolume (PV), Kubernetes PersistentVolumeClaim (PVC), Kubernetes Pod, Kubernetes Pod Affinity and Anti-Affinity, Kubernetes Pod Topology Spread Constraints, Kubernetes PodDisruptionBudget (PDB).