qinling/tools/gate/kubeadm/vars.sh
Lingxian Kong dabfa1ad51 Use kubeadm for devstack
Using kubeadm instead of other installing tools gives us more control of our
own devstack installation.

Change-Id: I0bffcc091fea70ea62952b21fb325c2cdde26b86
2018-02-28 15:41:04 +13:00

19 lines
636 B
Bash

#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Set work dir if not already done
: ${WORK_DIR:="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"}
# Get Host OS
source /etc/os-release
export HOST_OS=${HOST_OS:="${ID}"}
# Set versions of K8s to use
export KUBE_VERSION=${KUBE_VERSION:-"v1.8.0"}
# Set Upstream DNS
export UPSTREAM_DNS=${UPSTREAM_DNS:-"8.8.8.8"}