2014-06-26 00:11:48 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-06-03 00:25:58 +00:00
|
|
|
# Copyright 2014 The Kubernetes Authors.
|
2014-06-06 23:40:48 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2014-07-14 17:50:04 +00:00
|
|
|
## Contains configuration values for interacting with the Vagrant cluster in test mode
|
2015-11-24 03:06:36 +00:00
|
|
|
#Set NUM_NODES to minimum required for testing.
|
|
|
|
NUM_NODES=2
|
2015-05-04 06:59:42 +00:00
|
|
|
|
2014-10-03 21:58:49 +00:00
|
|
|
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
|
|
|
|
source "${KUBE_ROOT}/cluster/vagrant/config-default.sh"
|
2015-08-11 04:34:23 +00:00
|
|
|
|
|
|
|
# Do not register the master kubelet during testing
|
|
|
|
REGISTER_MASTER_KUBELET=${REGISTER_MASTER:-false}
|
2015-10-29 10:03:34 +00:00
|
|
|
|
|
|
|
# Optional: if set to true, kube-up will configure the cluster to run e2e tests.
|
|
|
|
E2E_STORAGE_TEST_ENVIRONMENT=${KUBE_E2E_STORAGE_TEST_ENVIRONMENT:-false}
|
2016-09-06 14:24:57 +00:00
|
|
|
|