Skip to content

Commit

Permalink
Fix code blocks
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Burkholder <[email protected]>
  • Loading branch information
pburkholder authored Jan 14, 2025
1 parent 3ae820d commit 35c826d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ for i in a_manifest.yml b_manifest.yml ; do cf push -f $i; done

Reload route and you'll see the apps getting cycles.

Problem: These are balanced 50/50. Also, no session persisten
Problem: These are balanced 50/50. Also, no session persistence

2. Use a proxy


```
cf add-network-policy pb-ab-test sample-app-a --protocol tcp --port 8080-8443
cf add-network-policy pb-ab-test sample-app-b --protocol tcp --port 8080-8443
```


Then remove later
```
cf network-policies | awk 'f;/source/{f=1}' | awk '{printf "cf remove-network-policy %s %s --protocol %s --port %s\n", $1, $2, $3, $4}'
```

# README

Expand Down

0 comments on commit 35c826d

Please sign in to comment.