Skip to content

Commit 51ab076

Browse files
committed
Remove k flag from allow/deny network traffic
1 parent 536e9d3 commit 51ab076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ kubectl create -f examples/multitenancy/hello-world/hs2.yaml --kubeconfig=kubepl
192192
In some scenarios, you might want to enable controlled communication between instances running in different namespaces. KubePlus provides a custom kubectl plugin for this purpose. To allow bi-directional traffic between the two HelloWorldService instances (deployed in namespaces `hs1` and `hs2`), run:
193193

194194
```sh
195-
kubectl allow network traffic hs1 hs2 -k kubeplus-saas-provider.json
195+
kubectl allow network traffic hs1 hs2
196196
```
197197

198198
```sh
@@ -216,7 +216,7 @@ The connection should be allowed
216216
To deny the traffic between namespace
217217

218218
```sh
219-
kubectl deny network traffic hs1 hs2 -k kubeplus-saas-provider.json
219+
kubectl deny network traffic hs1 hs2
220220
```
221221

222222
```sh

0 commit comments

Comments
 (0)