Share local directory with Kind Kubernetes Cluster using hostpath
问题 I want to share my non-empty local directory with kind cluster. Based on answer here: How to reference a local volume in Kind (kubernetes in docker) I tried few variations of the following: Kind Cluster yaml: kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane extraMounts: - hostPath: /Users/xyz/documents/k8_automation/data/manual/ containerPath: /host_manual extraPortMappings: - containerPort: 30000 hostPort: 10000 Pod yaml: apiVersion: v1 kind: Pod metadata: name: