Skip to content

Commit a0a6fe4

Browse files
committed
doc: use busybox in windows example
1 parent 03e7a51 commit a0a6fe4

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

deploy/example/windows/deployment.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,26 @@
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
5-
name: aspnet-smb
5+
name: busybox-smb
66
labels:
7-
app: aspnet
7+
app: busybox
88
spec:
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"
@@ -27,4 +31,4 @@ spec:
2731
claimName: pvc-smb
2832
selector:
2933
matchLabels:
30-
app: aspnet
34+
app: busybox

0 commit comments

Comments
 (0)