mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-27 08:39:49 +00:00
Add link to exposing mizu wiki page in README (#455)
This commit is contained in:
parent
3e132905ce
commit
6909e6e657
25
README.md
25
README.md
@ -131,30 +131,7 @@ $ mizu clean # mizu will continue running in cluster until clean is executed
|
|||||||
Removing mizu resources
|
Removing mizu resources
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`mizu view` provides one way to access Mizu. For other options, see [Accessing Mizu Wiki Page](https://github.com/up9inc/mizu/wiki/Accessing-Mizu).
|
||||||
|
|
||||||
### To run mizu daemon mode with LoadBalancer kubernetes service
|
|
||||||
```bash
|
|
||||||
$ mizu tap "^ca.*" --daemon
|
|
||||||
Mizu will store up to 200MB of traffic, old traffic will be cleared once the limit is reached.
|
|
||||||
Tapping pods in namespaces "sock-shop"
|
|
||||||
Waiting for mizu to be ready... (may take a few minutes)
|
|
||||||
..
|
|
||||||
|
|
||||||
$ kubectl expose deployment -n mizu --port 80 --target-port 8899 mizu-api-server --type=LoadBalancer --name=mizu-lb
|
|
||||||
service/mizu-lb exposed
|
|
||||||
..
|
|
||||||
|
|
||||||
$ kubectl get services -n mizu
|
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
|
||||||
mizu-api-server ClusterIP 10.107.200.100 <none> 80/TCP 5m5s
|
|
||||||
mizu-lb LoadBalancer 10.107.200.101 34.77.120.116 80:30141/TCP 76s
|
|
||||||
```
|
|
||||||
Note that `LoadBalancer` services only work on supported clusters (usually cloud providers) and might incur extra costs
|
|
||||||
|
|
||||||
If you changed the `mizu-resources-namespace` value, make sure the `-n mizu` flag of the `kubectl expose` command is changed to the value of `mizu-resources-namespace`
|
|
||||||
|
|
||||||
mizu will now be available both by running `mizu view` or by accessing the `EXTERNAL-IP` of the `mizu-lb` service through your browser.
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user