Networking plugin repository for pod networking in Kubernetes using Elastic Network Interfaces on AWS. Launch kubelet with network plugins set to cni (--network-plugin=cni), the cni directories configured (--cni-config-dir and --cni-bin-dir) and node ip set to the primary IPv4 address of the primary ENI for the instance (--node-ip=$(curl http://169.254.169.254/latest/meta-data/local-ipv4)). It is also recommended that you set --max-pods equal to (the number of ENIs for the instance type Ă— (the number of IPs per ENI - 1)) + 2; for details, see vpc_ip_resource_limit.go. Setting --max-pods will prevent scheduling that exceeds the IP address resources available to the kubelet. The Amazon VPC CNI plugin for Kubernetes supports a number of configuration options, which are set through environment variables. The following environment variables are available, and all of them are optional.

Features

  • make defaults to make build-linux that builds the Linux binaries
  • Create a docker container using the docker-build with the finished binaries
  • Use a docker container (golang:1.16) to build the binaries
  • Use a docker container (golang:1.16) to run all unit tests
  • When a worker node first joins the cluster, there is only 1 ENI along with all of its addresses in the ENI
  • The Amazon VPC CNI plugin for Kubernetes supports a number of configuration options

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow amazon-vpc-cni-k8s

amazon-vpc-cni-k8s Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of amazon-vpc-cni-k8s!

Additional Project Details

Operating Systems

Linux

Programming Language

Go

Related Categories

Go Networking Software, Go Browser Extensions and Plugins

Registered

2022-06-29