Skip to content

Commit e009e80

Browse files
authored
Merge pull request #204862 from andyzhangx/patch-51
Update azure-files-volume.md
2 parents 5c8fb46 + 868d7c4 commit e009e80

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

articles/aks/azure-disk-volume.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ following command:
132132
metadata:
133133
name: mypod
134134
spec:
135+
nodeSelector:
136+
kubernetes.io/os: linux
135137
containers:
136138
- image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
137139
name: mypod

articles/aks/azure-files-volume.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ kind: Pod
7878
metadata:
7979
name: mypod
8080
spec:
81+
nodeSelector:
82+
kubernetes.io/os: linux
8183
containers:
8284
- image: mcr.microsoft.com/oss/nginx/nginx:1.15.5-alpine
8385
name: mypod
@@ -95,6 +97,7 @@ spec:
9597
- name: azure
9698
csi:
9799
driver: file.csi.azure.com
100+
readOnly: false
98101
volumeAttributes:
99102
secretName: azure-secret # required
100103
shareName: aksshare # required

0 commit comments

Comments
 (0)