- Getting Started with Kubernetes(Second Edition)
- Jonathan Baier
- 132字
- 2021-07-02 22:51:24
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.
- 現代測控電子技術
- Introduction to DevOps with Kubernetes
- 空間機器人遙操作系統及控制
- Hands-On Neural Networks with Keras
- Google App Inventor
- 3D Printing for Architects with MakerBot
- Lightning Fast Animation in Element 3D
- Visual Basic.NET程序設計
- Learning Azure Cosmos DB
- Windows Server 2008 R2活動目錄內幕
- Salesforce Advanced Administrator Certification Guide
- Linux內核精析
- 工業自動化技術實訓指導
- 設計模式
- 智能+:制造業的智能化轉型