Skip to content

Commit 0c63d39

Browse files
authored
chore: Update busybox image
1 parent e32c776 commit 0c63d39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/tasks/administer-cluster/declare-network-policy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pod/nginx-701339712-e0qfq 1/1 Running 0 35s
6969
You should be able to access the new `nginx` service from other Pods. To access the `nginx` Service from another Pod in the `default` namespace, start a busybox container:
7070

7171
```console
72-
kubectl run busybox --rm -ti --image=busybox:1.28 -- /bin/sh
72+
kubectl run busybox --rm -ti --image=busybox -- /bin/sh
7373
```
7474

7575
In your shell, run the following command:
@@ -112,7 +112,7 @@ networkpolicy.networking.k8s.io/access-nginx created
112112
When you attempt to access the `nginx` Service from a Pod without the correct labels, the request times out:
113113

114114
```console
115-
kubectl run busybox --rm -ti --image=busybox:1.28 -- /bin/sh
115+
kubectl run busybox --rm -ti --image=busybox -- /bin/sh
116116
```
117117

118118
In your shell, run the command:
@@ -131,7 +131,7 @@ wget: download timed out
131131
You can create a Pod with the correct labels to see that the request is allowed:
132132

133133
```console
134-
kubectl run busybox --rm -ti --labels="access=true" --image=busybox:1.28 -- /bin/sh
134+
kubectl run busybox --rm -ti --labels="access=true" --image=busybox -- /bin/sh
135135
```
136136

137137
In your shell, run the command:

0 commit comments

Comments
 (0)