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

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.

主站蜘蛛池模板: 天长市| 宁远县| 延川县| 乳源| 米泉市| 乐昌市| 衡东县| 金沙县| 广宗县| 定西市| 获嘉县| 凌源市| 大同市| 天长市| 中阳县| 松滋市| 怀集县| 天台县| 汝阳县| 乐清市| 朝阳市| 金塔县| 怀仁县| 乐业县| 汝州市| 芒康县| 平和县| 安西县| 台州市| 聂荣县| 德安县| 黄冈市| 易门县| 古浪县| 阿合奇县| 吴江市| 东兴市| 金平| 岫岩| 鹿邑县| 玛曲县|