安装Golang Dep
go get -v github.com/tools/godep
安装client-go
go get k8s.io/client-go/kubernetes
cd $GOPATH/src/k8s.io/client-go
git checkout v10.0.0
godep restore ./...
go get -v github.com/tools/godep
go get k8s.io/client-go/kubernetes
cd $GOPATH/src/k8s.io/client-go
git checkout v10.0.0
godep restore ./...
Amazon EC2 networking doesn’t allow to use private ips in the containers
through bridges or macvlan. Dedicating a network interface to a
container makes it directly unreachable from the host.
docker network create -d macvlan --subnet 172.30.80.0/20 --gateway 172.30.80.1 -o parent=eth0 pub_net
docker run -d --network pub_net --ip 172.30.80.10 busybox
Understanding Real-World Concurrency Bugs in Go
长链接
通过连接池和数据库保持长链接
Amazon Aurora Serverless is an on-demand, auto-scaling configuration for Amazon Aurora (MySQL-compatible and PostgreSQL-compatible editions), where the database will automatically start up, shut down, and scale capacity up or down based on your application’s needs. It enables you to run your database in the cloud without managing any database instances. It’s a simple, cost-effective option for infrequent, intermittent, or unpredictable workloads.
https://jhui.github.io/2017/11/03/Dynamic-Routing-Between-Capsules/
Linux Bridge supported GRE Tunnels, but not the newer and more scalable VXLAN model https://vincent.bernat.ch/en/blog/2017-vxlan-linux
This post will talk
about the various building blocks available to speed up packet processing
both hardware based e.g.SR-IOV, RDT, QAT, VMDq, VTD
and software based e.g. DPDK, Fd.io/VPP, OVS etc and give
hands on lab experience
专线
VPN托管服务
VPN Peering
自建或第三方VPN
PrivateLink
VPN托管服务
专线
专线+VPN
自建或第三方VPN
Transit VPC
VPN Hub