volume creation failed while installing the statefulset.
Events:
9s Warning ProvisioningFailed persistentvolumeclaim/kafka-vol-kafka-0 Failed to provision volume with StorageClass "hello-sc": rpc error: code = Internal desc = Failed to create volume: This IO profile requires a minimum replication factor of 2 nodes
PVC
kubectl get pvc -n hello
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
hello-vol-hello-0 Pending hell-sc 44m
Storage class definition:
Name: hello-sc
IsDefaultClass: Yes
Annotations: kubectl.kubernetes.io/last-applied-configuration={"allowVolumeExpansion":true,"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true"},"name":"hello-sc"},"parameters":{"cow_ondemand":"true","disable_io_profile_protection":"true","fs":"ext4","io_profile":"db_remote","priority_io":"high","repl":"1"},"provisioner":"kubernetes.io/portworx-volume","reclaimPolicy":"Delete","volumeBindingMode":"Immediate"}
,storageclass.kubernetes.io/is-default-class=true
Provisioner: kubernetes.io/portworx-volume
Parameters: cow_ondemand=true,disable_io_profile_protection=true,fs=ext4,io_profile=db_remote,priority_io=high,repl=1
AllowVolumeExpansion: True
MountOptions: <none>
ReclaimPolicy: Delete
VolumeBindingMode: Immediate
Events: <none>
Installing the statefulset with PVC. The volume should be created, even with replication factor 1.

The error Failed to create volume: This IO profile requires a minimum replication factor of 2 nodes suggesting that to create volume IO profile requires replication factor of at least 2 nodes.
As mentioned in the document on Best practises for Apache kafka running on kubernetes with portworx :
You can also refer to this github link and this document for more information.