aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles/ha
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-09-10 09:52:39 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-09-12 16:31:44 +0800
commitf1161160215e2027988a2e557fece399b65d2eae (patch)
tree9e5a245d034d931cfce9ca8b119da3f1922b23a1 /deploy/adapters/ansible/kubernetes/roles/ha
parent68eb4a8f789ac28bc059a8c620f964cb41fba9c4 (diff)
Add license
Change-Id: I139c48ca3498a5a1e399abb3ef999da67a47c921 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/ha')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh b/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh
index 62e79b3b..db44246a 100644
--- a/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh
+++ b/deploy/adapters/ansible/kubernetes/roles/ha/files/chk_k8s_master.sh
@@ -1,3 +1,12 @@
+##############################################################################
+# Copyright (c) 2016-2018 compass4nfv and others.
+#
+# 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
+##############################################################################
+
#!/bin/bash
count=`ss -tnl | grep 6443 | wc -l`