config-default.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/usr/bin/env bash
  2. # Copyright 2017 The Kubernetes Authors.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. # Configuration for landing a Kubemark cluster on a pre-existing Kubernetes
  16. # cluster.
  17. # Pre-existing provider expects a MASTER_IP.
  18. # If you need to specify a port that's not the default (443), add it to MASTER_IP.
  19. #
  20. # Example: Connect to the Master on the secure port 6443
  21. # MASTER_IP=192.168.122.5:6443
  22. #
  23. MASTER_IP="${MASTER_IP:-}"
  24. # The container registry and project given to the kubemark container:
  25. # $CONTAINER_REGISTRY/$PROJECT/kubemark
  26. #
  27. CONTAINER_REGISTRY="${CONTAINER_REGISTRY:-}"
  28. PROJECT="${PROJECT:-}"
  29. NUM_NODES="${NUM_NODES:-1}"
  30. TEST_CLUSTER_API_CONTENT_TYPE="${TEST_CLUSTER_API_CONTENT_TYPE:-}"
  31. KUBELET_TEST_LOG_LEVEL="${KUBELET_TEST_LOG_LEVEL:-}"
  32. KUBEPROXY_TEST_LOG_LEVEL="${KUBEPROXY_TEST_LOG_LEVEL:-}"
  33. MASTER_NAME="${MASTER_NAME:-}"