You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kubernetes user discussion and Q&A
Hi guys,
I would like to know if its possible to run Calico on GKE to enable fine-grained network policies ? If not, is it something planned ?
Thanks for any advice !
Christopher Liljenstolpe
unread,
Nov 28, 2016, 6:56:46 PM11/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kubernetes user discussion and Q&A
Greetings,
It is possible to enable Calico on GKE. I haven't personally done it, but we have tested it here. You need to enable CNI in your config, then spin-up a self-hosted Calico install and you should be good to go. Calico will only be providing policy control at that point (which is what it looks like you want). If you have questions, please join our slack at slack.projectcalico.org, or e-mail me directly.
Christopher
Tim Hockin
unread,
Nov 28, 2016, 7:17:28 PM11/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kubernet...@googlegroups.com
I am not sure that is true for GKE - where the whole node config is
blown away on node upgrade.
We are currently considering options for supporting NetworkPolicy on
GKE, but we don't have a finished plan just yet.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kubernetes user discussion and Q&A
Thanks for your answer. Thats mainly why we were sceptical about it. Do you think it could be done using a DaemonSet, or is there other main issues to consider ?
Is there some public discussion to follow on this topic somewhere around ?
Tim Hockin
unread,
Nov 30, 2016, 1:13:09 PM11/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kubernet...@googlegroups.com
The trick is that it has to drop files in the root filesystem,
configure a kubelet flag, and restart kubelet. There's really no way
to do that from daemonset.
Brandon Philips
unread,
Nov 30, 2016, 9:45:24 PM11/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to kubernet...@googlegroups.com
Aside: kube-flannel takes care of dropping the CNI plugin on the root filesystem in this way today. But, yes, the kubelet needs to be in CNI mode first.