This file contains 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: v1 | |
kind: ConfigMap | |
metadata: | |
name: traefik-conf | |
namespace: kube-system | |
data: | |
traefik.toml: | | |
defaultEntryPoints = ["http","https"] | |
debug = false | |
logLevel = "INFO" |
This file contains 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: kubernetes-dashboard-external | |
namespace: kube-system | |
labels: | |
traffic-type: external | |
annotations: | |
traefik.frontend.rule.type: PathPrefix | |
#traefik.frontend.redirect.regex: ^http://(.*) |
This file contains 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: kubernetes-dashboard | |
namespace: kube-system | |
annotations: | |
traefik.frontend.rule.type: PathPrefix | |
spec: | |
rules: | |
- host: dashboard.internal.domain.com |
This file contains 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
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
name: traefik-ingress-controller | |
namespace: kube-system | |
labels: | |
k8s-app: traefik-ingress-lb | |
spec: | |
replicas: 2 | |
selector: |
This file contains 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: v1 | |
kind: ConfigMap | |
metadata: | |
name: traefik-conf-external | |
namespace: kube-system | |
data: | |
traefik.toml: | | |
defaultEntryPoints = ["http","https"] | |
debug = false | |
logLevel = "INFO" |
This file contains 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
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE | |
default sshd-jumpserver-rc-tv7h7 1/1 Running 1 1d 10.34.0.48 nanot4-1 | |
kube-system godaddy-dyndns-5675d5d4f8-zc5w2 1/1 Running 1 1d 10.34.0.42 nanot4-1 | |
kube-system kube-proxy-s4wx7 1/1 Running 0 1d 192.168.1.60 nanot4-1 | |
kube-system traefik-ingress-controller-cdd9b68-7qkl8 1/1 Running 1 1d 10.34.0.43 nanot4-1 | |
kube-system weave-net-mwjxj 2/2 Running 23 14d 192.168.1.60 nanot4-1 | |
metallb-system speaker-rhx7z 1/1 Running 2 7d 192.168.1.60 nanot4-1 | |
monitoring arm-exporter-mfdd6 1/1 Running 6 14d 192.168.1.60 nanot4-1 | |
monitoring elasticsear |
This file contains 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
Go 1.10.3 vs 1.11beta3 | |
Linux Firefly3399 4.4.138 #3 SMP Sat Jul 21 18:29:19 EST 2018 aarch64 GNU/Linux | |
go test crypto/tls -bench BenchmarkThroughput | |
benchmark old ns/op new ns/op delta | |
BenchmarkThroughput/MaxPacket/1MB-6 215113025 30982856 -85.60% | |
BenchmarkThroughput/MaxPacket/2MB-6 373540806 47685945 -87.23% | |
BenchmarkThroughput/MaxPacket/4MB-6 662471229 64692820 -90.23% | |
BenchmarkThroughput/MaxPacket/8MB-6 1297366168 121892691 -90.60% |
This file contains 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
Aug 14 15:38:16 Firefly3399 systemd[1]: Starting Docker Application Container Engine... | |
-- Subject: Unit docker.service has begun start-up | |
-- Defined-By: systemd | |
-- Support: https://www.debian.org/support | |
-- | |
-- Unit docker.service has begun starting up. | |
Aug 14 15:38:16 Firefly3399 dockerd[14649]: time="2018-08-14T15:38:16.970377152-05:00" level=debug msg="Listener created for HTTP on fd ()" | |
Aug 14 15:38:16 Firefly3399 dockerd[14649]: time="2018-08-14T15:38:16.980024474-05:00" level=info msg="libcontainerd: starte d new docker-containerd process" pid=14661 | |
Aug 14 15:38:16 Firefly3399 dockerd[14649]: time="2018-08-14T15:38:16.980320663-05:00" level=info msg="parsed scheme: \"unix \"" module=grpc | |
Aug 14 15:38:16 Firefly3399 dockerd[14649]: time="2018-08-14T15:38:16.980355973-05:00" level=info msg="scheme \"unix\" not r egistered, fallback to default scheme" module=grpc |
This file contains 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
carlosedp@ubuntu:~$ lscpu | |
Architecture: x86_64 | |
CPU op-mode(s): 32-bit, 64-bit | |
Byte Order: Little Endian | |
CPU(s): 2 | |
On-line CPU(s) list: 0,1 | |
Thread(s) per core: 1 | |
Core(s) per socket: 2 | |
Socket(s): 1 | |
NUMA node(s): 1 |
This file contains 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
$ GOMAXPROCS=12 go test crypto/tls -bench BenchmarkThroughput | |
goos: linux | |
goarch: arm64 | |
pkg: crypto/tls | |
BenchmarkThroughput/MaxPacket/1MB-12 50 33703977 ns/op 31.11 MB/s | |
BenchmarkThroughput/MaxPacket/2MB-12 30 50824996 ns/op 41.26 MB/s | |
BenchmarkThroughput/MaxPacket/4MB-12 20 85682448 ns/op 48.95 MB/s | |
BenchmarkThroughput/MaxPacket/8MB-12 10 102965754 ns/op 81.47 MB/s | |
BenchmarkThroughput/MaxPacket/16MB-12 10 244088459 ns/op 68.73 MB/s | |
BenchmarkThroughput/MaxPacket/32MB-12 3 421936369 ns/op 79.52 MB/s |