Closed cknowles closed 6 years ago
Hi, we've not seen any issues with self-hosted canal + kiam in our hcom clusters. Aha, good spot - we do still have the UseCalico option in our clusters which is set to True. I think we are going to need to extend these if conditions with either method and then remove 'UseCalico' when we make Self/Hosting the default setting.
I'll PR the required expansion...
Currently when self hosted network is enabled with canal, we configure kube2iam/kiam with network interface of
cni0
(since theUseCalico
flag is ignored):https://github.com/kubernetes-incubator/kube-aws/blob/master/core/controlplane/config/templates/cloud-config-controller#L4962-L4966 https://github.com/kubernetes-incubator/kube-aws/blob/master/core/controlplane/config/templates/cloud-config-controller#L5356-L5360
However, this doesn't appear to work. It needs to be
cali+
for canal.Probably we need it before https://github.com/kubernetes-incubator/kube-aws/pull/1309?