We missed the boat for 1.16, as it was already late in the cycle, but I'd like to run full speed at this for 1.17.
As for course of action, I think we should:
other CNI plugins are not guaranteed to be installed in any particular kubernetes installation, and so network plugins that depend on standard CNI plugins (portmap, host-local, etc) need to either install their own copies, or else they need to require their users to install them
kubelet
debs/rpms and remove kubeadm
's package dependency on kubernetes-cni
, starting in Kubernetes 1.17kubernetes-cni
in future versionskubelet
instead of the kubeadm
package since we hit a wider swath of consumers this waykubernetes-cni
debs/rpms until Kubernetes 1.19Several of the instructions I've [speed]read through (Calico, Weave, Cilium) suggest you BYO or use kubeadm to ensure /opt/cni/bin is configured, so I think this plan is fine.
I've opened an issue for this[1] and will capture the decision there once we make one.
This will also require some minor refactoring of our package building tools.
I've started a PR[2] that's at a good stage for a first pass review if people have bandwidth.
Do we think this is a good plan forward?
-- Stephen
[1] https://github.com/kubernetes/release/issues/885
[2] https://github.com/kubernetes/release/pull/884
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-cluster-lifecycle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cluster...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cluster-lifecycle/a068d26c-a302-212f-86ed-32f16efcec00%40redhat.com.
On Fri, 27 Sep 2019 at 00:08, Stephen Augustus <Ste...@agst.us> wrote:
>
> We missed the boat for 1.16, as it was already late in the cycle, but I'd like to run full speed at this for 1.17.
>
> As for course of action, I think we should:
>
> (SIG Network) Update user-facing documentation as Dan mentioned
>
> other CNI plugins are not guaranteed to be installed in any particular kubernetes installation, and so network plugins that depend on standard CNI plugins (portmap, host-local, etc) need to either install their own copies, or else they need to require their users to install them
>
> (SIG Network/Release) Announce the deprecation and start the clock in Kubernetes 1.17
> (SIG Release) Move the CNI plugins into the kubelet debs/rpms and remove kubeadm's package dependency on kubernetes-cni, starting in Kubernetes 1.17
>
> This way we don't break users of kubernetes-cni in future versions
> Choosing to move it to the kubelet instead of the kubeadm package since we hit a wider swath of consumers this way
>
indeed, moving them in kubelet vs kubeadm package is an interesting topic.
the kubelet package is a better location, as CNI is really a
Kubernetes Node dependency and not a deployer (kubeadm) dependency.
> (SIG Release) Continue also publishing kubernetes-cni debs/rpms until Kubernetes 1.19
>
3 releases vs 1 year is up to SIG Release, i guess.
This does not imply that all changes to the system are governed by this policy. This applies only to significant, user-visible behaviors which impact the correctness of applications running on Kubernetes or that impact the administration of Kubernetes clusters, and which are being removed entirely.
> Several of the instructions I've [speed]read through (Calico, Weave, Cilium) suggest you BYO or use kubeadm to ensure /opt/cni/bin is configured, so I think this plan is fine.
>
like i've explained in the reply to Dan, kubeadm is not the only
deployer in the ecosystem.
Pod network addon documentation, instructing the users to first
install kubeadm to be able to use this their solution is not a great
practice.
ideally all of them now have to change to recommended installing the
CNI plugin tarballs.
/opt/cni/bin
directory." (https://www.weave.works/docs/net/latest/kubernetes/kube-addon/)--network-plugin=cni
argument. (On kubeadm, this is the default.)" (https://docs.projectcalico.org/v3.9/getting-started/kubernetes/requirements)CNI
- Container Network Interface is the plugin layer used by Kubernetes to delegate networking configuration. CNI must be enabled in your Kubernetes cluster in order to install Cilium. This is done by passing --network-plugin=cni
to kubelet on all nodes. For more information, see the Kubernets CNI network-plugins documentation." (https://cilium.readthedocs.io/en/stable/kubernetes/requirements/#enable-cni-in-kubernetes)lubomir
--
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-cluster-lifecycle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cluster...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cluster-lifecycle/CAGDbWi8oxZDkv_joqVsiRJdA4ecU1gGSvjBxe1syTvzrG2SqnA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cluster-lifecycle/CAFQm5yTT9rb%2BjTKjgGtkMDA0QcrcA_9Cfnu1A2rCgUaDFQZDXQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CAGDbWi9HCKybpoydSSKCyvw9_yLtWeJ4Mhanm9ZVkzPX%3DgbUEA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "kubernetes-sig-cluster-lifecycle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-cluster...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-cluster-lifecycle/CALbOP4Hh5CvMWGmJGWVxhpJydt3P00GVaaYH5st8asw478fmpg%40mail.gmail.com.