Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example usage of plain CNI usage with kubeadm on GCE #12

Open
luxas opened this issue Apr 30, 2017 · 0 comments
Open

Add example usage of plain CNI usage with kubeadm on GCE #12

luxas opened this issue Apr 30, 2017 · 0 comments

Comments

@luxas
Copy link
Owner

luxas commented Apr 30, 2017

In combination with the cloud-controller-manager that handles the cloudy stuff, the networking should be a plain CNI bridge; set by a DaemonSet that drops the following file in /etc/cni/net.d on every node.

Since the kubenet->plain CNI stuff is proceeding, I want to test out how close we are using CNI-only (without the kubenet bells and whistles) on a cloud env like GCE.

I think the CNI spec will look something like this:

{
    "cniVersion": "0.2.0",
    "name": "gcenet",
    "type": "bridge",
    "mtu": 1460,
    "bridge": "cni0",
    "isGateway": true,
    "isDefaultGateway": true,
    "ipMasq": false,
    "hairpinMode": false,
    "ipam": {
        "type": "host-local",
        "subnet": "${bridge-cidr}"
    }
}

(shamelessly inspired from @jbeda's project here: https://github.com/jbeda/kubeadm-gce-tf/blob/master/tf-scripts/prereq.sh#L46 😄)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant