官术网_书友最值得收藏!

Modifying kube-up parameters

It's worth getting to know the parameters used for the kube-up.sh script. Each provider under the kubernetes/cluster/ folder has its own su  folder which containers a config-default.sh  script.

For example, kubernetes/cluster/aws/config-default.sh has the default settings for using kube-up.sh with AWS. At the start of this script, you will see many of these values defined as well as environment variables that can be used to overrides the defaults.

In the following example, the ZONE variable is set for the script and it uses the value from the environment variable named KUBE_AWS_ZONE. If this variable is not set, it will use the default us-west-2a:

ZONE=${KUBE_AWS_ZONE:-us-west-2a}

Understanding these parameters will help you get a lot more mileage out of your kube-up.sh script.

主站蜘蛛池模板: 淳安县| 广州市| 肇源县| 灌南县| 中西区| 吉林市| 洛隆县| 长宁区| 策勒县| 巴里| 明水县| 达孜县| 启东市| 商都县| 永定县| 东乡县| 菏泽市| 洛扎县| 姜堰市| 冕宁县| 武威市| 阿拉善右旗| 沙湾县| 安丘市| 云霄县| 沂水县| 隆尧县| 陆丰市| 安陆市| 泾阳县| 禹州市| 呼图壁县| 岱山县| 明光市| 瑞金市| 秭归县| 平江县| 淅川县| 长岛县| 铅山县| 斗六市|