Problems setting up openebs cstor storage pool

Hello everyone. I have a microk8s cluster running but I am having trouble configuring openebs correctly. Openebs is enabled as an addon for microk8s. To create a storage pool, I created this configuration file (cstor-pool1-config.yaml):

#Use the following YAMLs to create a cStor Storage Pool.
kind: StoragePoolClaim
name: cstor-disk-pool
annotations: |
- name: PoolResourceRequests
value: |-
memory: 2Gi
- name: PoolResourceLimits
value: |-
memory: 4Gi
name: cstor-disk-pool
type: disk
poolType: striped
- blockdevice-293f51b46b26e80d7d712b7a1e61bebb
- blockdevice-dd0052270b42ba1c5a54af97b2f457f9
- blockdevice-022c7e8a63953a598a3af5276af37828

But when I use the command “microk8s kubectl apply -f cstor-pool1-config.yaml”, I get the following error message:
error: unable to recognize “cstor-pool1-config.yaml”: no matches for kind “StoragePoolClaim” in version ‘

What am I doing wrong?

Cluster information:

Kubernetes version: v1.22.4
Cloud being used: bare-metal
Installation method: snap
Host OS: Ubuntu 18.04