2018-07-18 14:47:22 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-01-09 18:57:14 +00:00
|
|
|
# Copyright 2017 The Kubernetes Authors.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Configuration for landing a Kubemark cluster on a pre-existing Kubernetes
|
|
|
|
# cluster.
|
|
|
|
|
|
|
|
# Pre-existing provider expects a MASTER_IP.
|
|
|
|
# If you need to specify a port that's not the default (443), add it to MASTER_IP.
|
|
|
|
#
|
|
|
|
# Example: Connect to the Master on the secure port 6443
|
|
|
|
# MASTER_IP=192.168.122.5:6443
|
|
|
|
#
|
|
|
|
MASTER_IP="${MASTER_IP:-}"
|
|
|
|
|
|
|
|
# The container registry and project given to the kubemark container:
|
|
|
|
# $CONTAINER_REGISTRY/$PROJECT/kubemark
|
|
|
|
#
|
|
|
|
CONTAINER_REGISTRY="${CONTAINER_REGISTRY:-}"
|
|
|
|
PROJECT="${PROJECT:-}"
|
|
|
|
|
|
|
|
NUM_NODES="${NUM_NODES:-1}"
|
|
|
|
|
|
|
|
TEST_CLUSTER_API_CONTENT_TYPE="${TEST_CLUSTER_API_CONTENT_TYPE:-}"
|
|
|
|
KUBELET_TEST_LOG_LEVEL="${KUBELET_TEST_LOG_LEVEL:-}"
|
|
|
|
KUBEPROXY_TEST_LOG_LEVEL="${KUBEPROXY_TEST_LOG_LEVEL:-}"
|
|
|
|
MASTER_NAME="${MASTER_NAME:-}"
|
|
|
|
USE_REAL_PROXIER="${USE_REAL_PROXIER:-true}"
|