OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
此内容没有您所选择的语言版本。
Chapter 7. Gluster Block Storage as Backend for Logging and Metrics
		Following section guides to configure Gluster Block Storage as the backend storage for logging and metrics
	
Note
			Block volume expansion is not supported in CNS 3.6. Administrators are required to do proper capacity planning while using Gluster Block as backend storage when using dynamic provisioning.
		
7.1. Prerequisites
复制链接链接已复制到粘贴板!
			Before setting gluster block storage as the backend for logging or metrics, check if the following prerequisites are met:
		
- In the storageclass file, check if the default storage class is set to the storage class of gluster block. For example:oc get storageclass # oc get storageclass NAME TYPE gluster-block gluster.org/glusterblockCopy to Clipboard Copied! Toggle word wrap Toggle overflow 
- If the default is not set togluster-block(or any other name that you have provided) then execute the following command. For example:oc patch storageclass gluster-block -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'# oc patch storageclass gluster-block -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Execute the following command to verify:oc get storageclass NAME TYPE gluster-block (default) gluster.org/glusterblock oc get storageclass NAME TYPE gluster-block (default) gluster.org/glusterblockCopy to Clipboard Copied! Toggle word wrap Toggle overflow