Skip to content

Commit

Permalink
cc
Browse files Browse the repository at this point in the history
  • Loading branch information
swapwz committed Apr 12, 2018
1 parent a00f96a commit 4179084
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Introduction

> It implements a simple K8s CNI plugin.
This plugin doesn't create the default interface inside the pod, but create others you defined in pod definition file.
> This plugin doesn't create the default interface inside the pod, but create others you defined in pod definition file.
# How to use it?

- checkout the source code into your linux system.
# git clone https://github.com/swapwz/union-cni.git
# git clone https://github.com/swapwz/union-cni.git
- use go compiler to build the binary
# go build unicni
`# go build unicni`
- put the binary into your CNI path, default is /opt/cni/bin
# cp unicni /opt/cni/bin/
`# cp unicni /opt/cni/bin/ `
- write your own configuration, with the file /etc/cni/net.d/00-unicni
uni.conflist:
{
Expand Down

0 comments on commit 4179084

Please sign in to comment.