File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 22apiVersion : apps/v1
33kind : Deployment
44metadata :
5- name : aspnet -smb
5+ name : busybox -smb
66 labels :
7- app : aspnet
7+ app : busybox
88spec :
99 replicas : 1
1010 template :
1111 metadata :
12- name : aspnet
12+ name : busybox
1313 labels :
14- app : aspnet
14+ app : busybox
1515 spec :
1616 nodeSelector :
1717 " kubernetes.io/os " : windows
1818 containers :
19- - name : aspnet
20- image : mcr.microsoft.com/dotnet/framework/samples:aspnetapp
19+ - name : busybox
20+ image : e2eteam/busybox:1.29
21+ command :
22+ - " powershell.exe"
23+ - " -Command"
24+ - " while (1) { Add-Content -Encoding Ascii C:\\ mnt\\ smb\\ data.txt $(Get-Date -Format u); sleep 1 }"
2125 volumeMounts :
2226 - name : smb
2327 mountPath : " /mnt/smb"
2731 claimName : pvc-smb
2832 selector :
2933 matchLabels :
30- app : aspnet
34+ app : busybox
You can’t perform that action at this time.
0 commit comments