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

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.

主站蜘蛛池模板: 惠东县| 西乌| 安丘市| 辽宁省| 凌云县| 黎平县| 晋中市| 星座| 沧源| 东源县| 龙川县| 莲花县| 乌海市| 翁牛特旗| 河津市| 玛多县| 永定县| 郎溪县| 大化| 应城市| 中超| 垦利县| 凤庆县| 姜堰市| 新乐市| 韶关市| 甘泉县| 商都县| 淮滨县| 锦屏县| 观塘区| 屯门区| 东丰县| 冕宁县| 金塔县| 沙雅县| 沧源| 张家川| 台湾省| 班玛县| 岐山县|