Skip to content

Commit

Permalink
Update README, Refs: kayrus#2
Browse files Browse the repository at this point in the history
  • Loading branch information
kouk committed Aug 25, 2020
1 parent 8f25868 commit 2f5b5c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,20 @@ kubectl run kuttle --image=alpine:latest --restart=Never -- sh -c 'apk add pytho
sshuttle -r kuttle -e kuttle 0.0.0.0/0
```

## Automatic target pod creation

If you don't care about having a long-running pod in your cluster, you can use the `autokuttle` script instead:

```sh
wget https://github.com/kayrus/kuttle/raw/master/autokuttle
chmod +x autokuttle
sshuttle -r kuttle -e autokuttle 0.0.0.0/0
```

This will create a deployment named `autokuttle` with one replica pod and use
that as the target. If the deployment already exists it will re-use it the next
time it runs.

# Examples

Route local requests to the `10.254.0.0/16` subnet via `pod-with-python` pod in your Kubernetes cluster:
Expand Down

0 comments on commit 2f5b5c7

Please sign in to comment.