sidebar_position | sidebar_label |
---|---|
5 |
Admission Controller |
admission-controller
is a webhook that can automatically verify which pod uses the HwameiStor volume
and help to modify the schedulerName to hwameistor-scheduler. For the specific principle, refer to
K8s Dynamic Admission Control.
admission-controller
gets all the PVCs used by a pod, and checks the provisioner of each PVC in turn. If the suffix of the provisioner name is *.hwameistor.io
, it is believed that the pod is using the volume provided by HwameiStor.
Only Pod resources will be verified, and the verification process occurs at the time of creation.
:::info In order to ensure that the pods of HwameiStor can be started smoothly, the pods in the namespace where HwameiStor is deployed will not be verified. :::