This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fds@ubuntu ~/work/code $ ab -n 100 -c 3 http://35.186.233.211/echo | |
| This is ApacheBench, Version 2.3 <$Revision: 1706008 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking 35.186.233.211 (be patient).....done | |
| Server Software: echoserver | |
| Server Hostname: 35.186.233.211 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Every 2.0s: kubectl describe ingress Fri Apr 20 23:16:46 2018 | |
| Name: ingress | |
| Namespace: default | |
| Address: 35.186.233.211 | |
| Default backend: default-http-backend:80 (10.24.0.4:8080) | |
| Rules: | |
| Host Path Backends | |
| ---- ---- -------- | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: ingress | |
| spec: | |
| rules: | |
| - http: | |
| paths: | |
| - path: /echo | |
| backend: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| annotations: | |
| ingress.kubernetes.io/proxy-body-size: 100M | |
| ingress.kubernetes.io/whitelist-source-range: "76.190.128.220/24,98.202.168.120/32,76.34.172.28/32" #random IPs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: extensions/v1beta1 | |
| kind: Ingress | |
| metadata: | |
| name: nginx-ingress | |
| annotations: | |
| ingress.kubernetes.io/proxy-body-size: 100M | |
| ingress.kubernetes.io/whitelist-source-range: "76.190.128.220/24,98.202.168.120/32,76.34.172.28/32" | |
| kubernetes.io/ingress.class: "nginx" | |
| ingress.kubernetes.io/app-root: "/" | |
| spec: |