Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielXLee committed Jul 14, 2021
1 parent 8c57384 commit 76c4057
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ The setup can be done by using `kustomize`.

```shell
git clone https://github.com/tkestack/knitnet-operator.git
cd knitnet-operator
```

1. Deploy broker
Expand All @@ -80,7 +81,7 @@ The setup can be done by using `kustomize`.
Switch to `cluster-a`

```shell
kubectl config use-context cluster-b
kubectl config use-context cluster-a
```

Deploy operator
Expand Down Expand Up @@ -164,8 +165,20 @@ The setup can be done by using `kustomize`.
1. Run `nettest` from `cluster-a` to access the nginx service:
Switch to `cluster-a`
```shell
kubectl config use-context cluster-a
```
Start `nettest` pod for test
```shell
kubectl -n default run --generator=run-pod/v1 tmp-shell --rm -i --tty --image quay.io/submariner/nettest -- /bin/bash
curl nginx.default.svc.clusterset.local:80
```
Try to curl nginx service created in `cluster-b`
```shell
curl nginx.default.svc.clusterset.local
```

0 comments on commit 76c4057

Please sign in to comment.