Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hanikesn committed Jan 15, 2016
1 parent 0416106 commit 9001e84
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions example/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,22 @@ Please execute this command on your host to make sure you can reach the services

OSX:
```
sudo route -n add 10.0.0.0/24 10.10.0.3
sudo route -n add 10.0.0.0/24 10.10.0.2
```

Linux:
```
sudo ip route add 10.0.0.0/24 via 10.10.0.3
sudo ip route add 10.0.0.0/24 via 10.10.0.2
```

Windows:
```
route add 10.0.0.0 mask 255.255.255.0 10.10.0.3
route add 10.0.0.0 mask 255.255.255.0 10.10.0.2
```


On Arch Linux:
```
systemctl start nfs-server rpcbind
```

## Try it out (inside the VM (`vagrant ssh`)):

Start a pdf rendering service
```
kubectl run mfb-pdf --image=dcr.mfb.io/mfb-service-pdf
kubectl expose rc mfb-pdf --port=80
```

Create a dev environment
```
kubectl create -f /data/dev.rc.yml
kubectl create -f /data/dev.svc.yml
```

List all endpoints
```
kubectl get endpoints
Expand All @@ -47,11 +30,6 @@ List all running services
kubectl get services
```

Update a container
```
kubectl rolling-update mfb-dev mfb-dev-v2 --image=dcr.mfb.io/mfb-symfony-php7:latest
```

Get some insight
```
csysdig
Expand Down

0 comments on commit 9001e84

Please sign in to comment.