CKA · Question #57
First, create a new StorageClass named local-path for an existing provisioner named rancher.io/local-path. Set the volume binding mode to WaitForFirstConsumer. Not setting the volume binding mode or…
Task Summary You need to: SSH into cka000046 Create a StorageClass named local-path using the provisioner rancher.io/local-path Set the volume binding mode to WaitForFirstConsumer Make this StorageClass the default ssh cka000046 cat <<EOF > local-path-sc.yaml apiVersion…
Question
Explanation
Task Summary You need to: SSH into cka000046 Create a StorageClass named local-path using the provisioner rancher.io/local-path Set the volume binding mode to WaitForFirstConsumer Make this StorageClass the default
ssh cka000046 cat <<EOF > local-path-sc.yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: local-path annotations: storageclass.kubernetes.io/is-default-class: "true" provisioner: rancher.io/local-path volumeBindingMode: WaitForFirstConsumer EOF kubectl apply -f local-path-sc.yaml kubectl get storageclass
Topics
Community Discussion
No community discussion yet for this question.