aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2
diff options
context:
space:
mode:
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>2018-05-11 17:36:20 +0100
committerVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2019-04-10 08:00:49 +0000
commitc66efd482c9c4aabf8a82d1f554ef5fca91b3bcb (patch)
tree1fee12c9e1e935b1720d338f7f8e744a814997c7 /ansible/roles/init_kubeadm/templates/net-flannel.yaml.j2
parenta2d14aea3e8a02e7f4ec0ef41f36aca6100d85e5 (diff)
Add ansible scripts to deploy Kubernetes
For know, only one node is supported. - build/configure CNI drivers - Init Kubernetes Change-Id: I6dd9dff7a4c7dfe2d7148812d2656966115c5ce9 Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
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
+ }
+ }]'