k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/cluster/kubemark/pre-existing/config-default.sh (about) 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 16 # Configuration for landing a Kubemark cluster on a pre-existing Kubernetes 17 # cluster. 18 19 # Pre-existing provider expects a MASTER_IP. 20 # If you need to specify a port that's not the default (443), add it to MASTER_IP. 21 # 22 # Example: Connect to the Master on the secure port 6443 23 # MASTER_IP=192.168.122.5:6443 24 # 25 MASTER_IP="${MASTER_IP:-}" 26 27 # The container registry and project given to the kubemark container: 28 # $CONTAINER_REGISTRY/$PROJECT/kubemark 29 # 30 CONTAINER_REGISTRY="${CONTAINER_REGISTRY:-}" 31 PROJECT="${PROJECT:-}" 32 33 NUM_NODES="${NUM_NODES:-1}" 34 35 KUBELET_TEST_LOG_LEVEL="${KUBELET_TEST_LOG_LEVEL:-}" 36 KUBEPROXY_TEST_LOG_LEVEL="${KUBEPROXY_TEST_LOG_LEVEL:-}" 37 MASTER_NAME="${MASTER_NAME:-}"