File tree Expand file tree Collapse file tree
samples/features/azure-arc/deployment/kubeadm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ for i in $(seq 1 80); do
7171
7272 vol=" vol$i "
7373
74- sudo umount /mnt /local-storage/$vol
74+ sudo umount /azurearc /local-storage/$vol
7575
76- sudo rm -rf /mnt /local-storage/$vol
76+ sudo rm -rf /azurearc /local-storage/$vol
7777
7878done
7979
Original file line number Diff line number Diff line change @@ -208,9 +208,9 @@ for i in $(seq 1 $PV_COUNT); do
208208
209209 vol=" vol$i "
210210
211- sudo mkdir -p /mnt /local-storage/$vol
211+ sudo mkdir -p /azurearc /local-storage/$vol
212212
213- sudo mount --bind /mnt /local-storage/$vol /mnt /local-storage/$vol
213+ sudo mount --bind /azurearc /local-storage/$vol /azurearc /local-storage/$vol
214214
215215done
216216echo " Kubernetes pre-requisites have been completed."
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ metadata:
3535data :
3636 storageClassMap : |
3737 local-storage:
38- hostDir: /mnt /local-storage
39- mountDir: /mnt /local-storage
38+ hostDir: /azurearc /local-storage
39+ mountDir: /azurearc /local-storage
4040 blockCleanerCommand:
4141 - "/scripts/shred.sh"
4242 - "2"
7373 - mountPath : /etc/provisioner/config
7474 name : provisioner-config
7575 readOnly : true
76- - mountPath : /mnt /local-storage
76+ - mountPath : /azurearc /local-storage
7777 name : local-storage
7878 mountPropagation : " HostToContainer"
7979 volumes :
8282 name : local-provisioner-config
8383 - name : local-storage
8484 hostPath :
85- path : /mnt /local-storage
85+ path : /azurearc /local-storage
8686---
8787apiVersion : v1
8888kind : ServiceAccount
You can’t perform that action at this time.
0 commit comments