From 39295fa0980be8c790c4df982e40ada0bdc81a58 Mon Sep 17 00:00:00 2001 From: gjmzj Date: Fri, 20 Jul 2018 17:24:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=A4=9A=E4=B8=BB=E9=9B=86=E7=BE=A4?= =?UTF-8?q?=E4=B8=8Bchange=5Fk8s=5Fnetwork=E6=97=B6vip=E4=B8=A2=E5=A4=B1?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/change_k8s_network.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/change_k8s_network.yml b/tools/change_k8s_network.yml index dc41b34..db0175f 100644 --- a/tools/change_k8s_network.yml +++ b/tools/change_k8s_network.yml @@ -80,6 +80,12 @@ - kubelet - kube-proxy ignore_errors: true + +- hosts: + - lb + tasks: + - name: 重启lb的keepalived服务 + service: name=keepalived state=restarted - hosts: - kube-master