Admission controller¶
The admission controller is a webhook that can automatically authenticate HwameiStor data volumes and assist in modifying schedulerName
to hwameistor-scheduler. For details, see Kubernetes Dynamic Admission Control.
-
Identify HwameiStor data volume
An admission controller can fetch all PVCs used by a pod and inspect each PVC storage provisioner. If the name suffix of the producer is
*.hwameistor.io
, it means that the Pod is using the data volume provided by HwameiStor. -
Authenticate resources
Admission controllers only validate
POD
resources and do so when they are created.Info
To ensure that the Pods of HwameiStor can start smoothly, the Pods under the namespace where HwameiStor is located will not be verified.