From 667fa134daca1c7264d0abfabfb1ce443a82ccc4 Mon Sep 17 00:00:00 2001 From: adarsh1001 Date: Sun, 22 Jul 2018 02:11:47 +0530 Subject: Add ansible scripts for raspberry pi based kubernetes edge cluster JIRA: CLOVER-71 This issue falls under the "Edge Cloud-Native Cluster" intern project and is a part of both Clover and Edge cloud projects. The detailed description of the project and the instructions for using the scripts are documented in the README. Change-Id: I4fdb98f17ae0c53f918376ad6fb90be8ff0b0a71 Signed-off-by: adarsh1001 --- edge/sample/roles/clusterForm_slave(s)/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 edge/sample/roles/clusterForm_slave(s)/tasks/main.yml (limited to 'edge/sample/roles/clusterForm_slave(s)/tasks') diff --git a/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml b/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml new file mode 100644 index 0000000..206e86c --- /dev/null +++ b/edge/sample/roles/clusterForm_slave(s)/tasks/main.yml @@ -0,0 +1,12 @@ +# Copyright (c) Authors of Clover +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 + +- name: Resetting kubeadm on slaves + shell: kubeadm reset + +- name: Join the cluster, slaves! + script: join.sh -- cgit 1.2.3-korg