Starting of k8splugin with docker-compose is broken
[multicloud/k8s.git] / deployments / start.sh
1 #!/bin/bash
2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2018 Intel Corporation
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 set -o errexit
12 set -o nounset
13 set -o pipefail
14
15 source _functions.sh
16
17 #
18 # Start k8splugin from containers. build.sh should be run prior this script.
19 #
20 stop_all
21 start_mongo
22 generate_k8sconfig
23 start_all