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 pods resources and do so when they are created.
Info
To ensure that the pods of HwameiStor can be started smoothly, the pods under the namespace where HwameiStor is located will not be verified.