aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2')
-rw-r--r--ansible/roles/init_kubeadm/templates/net-flannel.yaml.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2 b/ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2
new file mode 100644
index 000000000..b872cd613
--- /dev/null
+++ b/ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2
@@ -0,0 +1,10 @@
+apiVersion: "kubernetes.com/v1"
+kind: Network
+metadata:
+ name: flannel
+plugin: flannel
+args: '[{
+ "delegate": {
+ "isDefaultGateway": true
+ }
+ }]'