Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.03 KB

admission_controller.md

File metadata and controls

22 lines (15 loc) · 1.03 KB
sidebar_position sidebar_label
5
Admission Controller

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.

How to identify a HwameiStor volume?

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.

Which resources will be verified?

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. :::