/etc/kafka doesn't exist in the apache/kafka image - subPath could not create the parent directory. Switch to /opt/kafka/config/ which exists in the image, avoiding both the directory conflict and the missing path.