I hereby claim:
- I am diegows on github.
- I am diegows (https://keybase.io/diegows) on keybase.
- I have a public key ASBqPwzFYpkxlzwC40CZ4EyQEXb-MFNj6m0_4gYPSTP0Wgo
To claim this, I am signing this object:
[yourapp] | |
name=yourapp | |
baseurl=file:///youapp_pkgs/ | |
gpgcheck=0 | |
enabled=1 |
varnish: | |
vhost: | |
example.com: | |
- backend1 | |
- backend2 | |
- backend3 | |
example2.com: | |
- backend4 | |
- backend5 | |
- backend6 |
diegows@diegows-laptop:/tmp$ bash -x test.sh ; echo $? | |
+ '[' -f /bin/false ']' | |
+ /bin/false | |
+ echo 1 | |
1 | |
0 | |
diegows@diegows-laptop:/tmp$ |
# env | grep -i proxy | |
http_proxy=http://10.12.61.56:8080 | |
ftp_proxy=http://10.12.61.56:8080 | |
https_proxy=http://10.12.61.56:8080 |
import collections | |
import random | |
from hash_ring import HashRing | |
from pprint import pprint | |
nodes = range(10) | |
nodes_dist = [] | |
for i in range(len(nodes)): |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
nginx.ingress.kubernetes.io/upstream-hash-by: "$arg_predictorid" | |
nginx.ingress.kubernetes.io/upstream-hash-by-subset: "true" | |
nginx.ingress.kubernetes.io/upstream-hash-by-subset-size: "3" | |
name: nginxhello-ingress | |
namespace: default | |
spec: |
I hereby claim:
To claim this, I am signing this object: