Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ for i in $(seq 1 80); do

vol="vol$i"

sudo umount /mnt/local-storage/$vol
sudo umount /azurearc/local-storage/$vol

sudo rm -rf /mnt/local-storage/$vol
sudo rm -rf /azurearc/local-storage/$vol

done

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ for i in $(seq 1 $PV_COUNT); do

vol="vol$i"

sudo mkdir -p /mnt/local-storage/$vol
sudo mkdir -p /azurearc/local-storage/$vol

sudo mount --bind /mnt/local-storage/$vol /mnt/local-storage/$vol
sudo mount --bind /azurearc/local-storage/$vol /azurearc/local-storage/$vol

done
echo "Kubernetes pre-requisites have been completed."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ metadata:
data:
storageClassMap: |
local-storage:
hostDir: /mnt/local-storage
mountDir: /mnt/local-storage
hostDir: /azurearc/local-storage
mountDir: /azurearc/local-storage
blockCleanerCommand:
- "/scripts/shred.sh"
- "2"
Expand Down Expand Up @@ -73,7 +73,7 @@ spec:
- mountPath: /etc/provisioner/config
name: provisioner-config
readOnly: true
- mountPath: /mnt/local-storage
- mountPath: /azurearc/local-storage
name: local-storage
mountPropagation: "HostToContainer"
volumes:
Expand All @@ -82,7 +82,7 @@ spec:
name: local-provisioner-config
- name: local-storage
hostPath:
path: /mnt/local-storage
path: /azurearc/local-storage
---
apiVersion: v1
kind: ServiceAccount
Expand Down