Skip to content
Tools&scripts for daily devops.
Shell Python
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
dpdk Add dpdk Apr 28, 2017
k8s-examples Add rdp example Apr 4, 2018
kubernetes update kubernetes steps May 7, 2019
misc Update go version to 1.12.4 May 6, 2019
ovs updage to ovs 2.8 Oct 12, 2017
vagrant Update modules May 6, 2019
.gitmodules Add misc Apr 10, 2017
.travis.yml Update .travis.yml Aug 8, 2017 Add gvisor support May 8, 2018


Build Status

Tools&scripts for devops.


  • Container/docker management
  • Kubernetes deployment&management
  • Networking experiments
  • Vagrant tools

Get the scripts

git clone
cd ops


Create a kubernetes cluster master

  • Install kubernetes with docker:
# Setup kubernetes master.

Add a new node

# Setup token and CIDR first.
# replace this with yours.
export TOKEN="xxxx"
export MASTER_IP="x.x.x.x"

# Setup and join the new node.


  • Use mirrors in China: export USE_MIRROR=true. Only required for Chinese users.
  • Container runtime: export CONTAINER_RUNTIME="docker". Supported options:
    • docker
    • containerd
    • cri-o
    • gvisor
  • CNI network plugins: export NETWORK_PLUGIN="flannel". Supported options:
    • flannel
    • calico
    • weave
    • azure
    • bridge
  • Cluster CIDR: export CLUSTER_CIDR=""
  • Container CIDR: export CONTAINER_CIDR="". Only required for bridge network plugin.

Kubernetes manifest examples

See k8s-examples.


  • Install docker v1.13: ./kubernetes/
  • Install docker latest: export DOCKER_VERSION="latest" && ./kubernetes/


  • Install ovs: ./ovs/
  • Start ovn: ./ovs/


  • Install golang: ./misc/
You can’t perform that action at this time.