Calico CNI plugin
caseydavenport Merge pull request #419 from bradbeam/fipannot
Adding ability to define a floating ip for a kubernetes workload via annotation
Latest commit 0e52590 Sep 18, 2018
Permalink
Failed to load latest commit information.
.github Wrap description in comment for contributors Aug 1, 2017
contrib/test_scripts Fix up manual test script Sep 7, 2018
git-hooks Clean up Makefile Jun 7, 2018
ipam Forward porting IPAM handle change Dec 13, 2017
k8s-install/scripts Enable junit reports for tests Sep 14, 2018
k8s Merge pull request #419 from bradbeam/fipannot Sep 18, 2018
report Enable junit reports for tests Sep 14, 2018
testutils Fix flake and make fix target. Aug 6, 2018
types Add option to program default routes Sep 13, 2018
utils Code review markups Sep 10, 2018
.dockerignore Clean up Makefile Jun 7, 2018
.editorconfig Add Go version of Calico CNI plugin Aug 9, 2016
.gitignore Enable junit reports for tests Sep 14, 2018
Dockerfile.amd64 Image: Update to alpine 3.8 Jul 25, 2018
Dockerfile.arm64 Image: Update to alpine 3.8 Jul 25, 2018
Dockerfile.ppc64le Image: Update to alpine 3.8 Jul 25, 2018
Dockerfile.s390x Image: Update to alpine 3.8 Jul 25, 2018
LICENSE First working rkt plugin Aug 13, 2015
Makefile Fix version regex to cover 'release-vX.Y' as well as SHA-1s Sep 18, 2018
README.md update make native build Jul 6, 2018
RELEASING.md Update release targets Apr 18, 2018
calico.go Include created interface in CNI result Sep 13, 2018
calico_cni_ipam_test.go Test for allocation from disable pool Mar 8, 2018
calico_cni_k8s_test.go Merge pull request #419 from bradbeam/fipannot Sep 18, 2018
calico_cni_suite_test.go Enable junit reports for tests Sep 14, 2018
calico_cni_test.go Disable ipAddrsNoIpam by default, and put behind feature flag Apr 13, 2018
configuration.md Update docs to point at docs site Nov 25, 2016
glide.lock Automated libcalico pin update Sep 15, 2018
glide.yaml Automated libcalico pin update Sep 15, 2018
install-git-hooks Clean up Makefile Jun 7, 2018
kubeconfig.sample Use kubernetes/client-go Sep 12, 2016

README.md

Build Status Slack Status IRC Channel

Calico Networking for CNI

Note that the documentation in this repo is targeted at Calico contributors.

Documentation for Calico users is here:
http://docs.projectcalico.org

This repository contains the Project Calico network plugin for CNI. This plugin allows you to use Calico networking for any orchestrator which makes use of the CNI networking specification.

This repository includes a top-level CNI networking plugin, as well as a CNI IPAM plugin which makes use of Calico IPAM.

To learn more about CNI, visit the containernetworking/cni repo.

Building the plugins and running tests

To build the Calico Networking Plugin for CNI locally, clone this repository and run make. This will build both CNI plugin binaries and run the tests. This requires a recent version of Docker.

  • To just build the binaries, with no tests, run make build. This will produce bin/$ARCH/calico and bin/$ARCH/calico-ipam.
  • To only run the tests, simply run make test.
  • To run a non-containerized build (i.e. not inside a docker container) you need to have Go 1.7+ and glide installed.

Analytics