From 4c29bee136718738ca012278588e18e95e120e0b Mon Sep 17 00:00:00 2001 From: EmanueleUrselli Date: Sun, 10 May 2020 20:32:41 +0200 Subject: TOOLS: Ansible Playbook for Deployed Kubernetes Cluster. This patch adds ansible playbooks for cluster deployment. Change-Id: Icf58b0ad0dec7098bff14c3f3c6666c35c242081 Signed-off-by: Emanuele Urselli Signed-off-by: Parth Yadav --- .../k8scluster/roles/clustermanager/tasks/deploy-flannel.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-flannel.yml (limited to 'tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-flannel.yml') diff --git a/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-flannel.yml b/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-flannel.yml new file mode 100644 index 00000000..367d682f --- /dev/null +++ b/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/deploy-flannel.yml @@ -0,0 +1,11 @@ +--- + +- name: Clean flannel + import_tasks: clear-flannel.yml + +- name: Deploy Kube-flannel + k8s: + state: present + definition: "{{ lookup('file', 'kube-flannel-daemonset.yml') }}" + wait: yes + -- cgit 1.2.3-korg