- Getting Started with Kubernetes
- Jonathan Baier Jesse White
- 135字
- 2021-06-10 19:47:01
Other modes
There are various other modes to take into consideration, including the following:
- Build a terraform model: --target=terraform. The terraform model will be built in out/terraform.
- Build a cloudformation model: --target=cloudformation. The Cloudformation JSON file will be built in out/cloudformation.
- Specify the K8s build to run: --kubernetes-version=1.2.2.
- Run nodes in multiple zones: --zones=us-east-1b,us-east-1c,us-east-1d.
- Run with a HA master: --master-zones=us-east-1b,us-east-1c,us-east-1d.
- Specify the number of nodes: --node-count=4.
- Specify the node size: --node-size=m4.large.
- Specify the master size: --master-size=m4.large.
- Override the default DNS zone: --dns-zone=<my.hosted.zone>.
The full list of CLI documentation can be found here: https://github.com/kubernetes/kops/tree/master/docs/cli.
Another tool for diagnosing the cluster status is the componentstatuses command, which will inform you of state of the major Kubernetes moving pieces:
$ kubectl get componentstatuses
NAME STATUS MESSAGE ERROR
scheduler Healthy ok
controller-manager Healthy ok
etcd-0 Healthy {"health": "true"}
推薦閱讀
- Java編程全能詞典
- 計算機應用
- 機器學習及應用(在線實驗+在線自測)
- Mastering VMware vSphere 6.5
- Dreamweaver CS3網頁設計與網站建設詳解
- Photoshop CS3圖層、通道、蒙版深度剖析寶典
- 塊數據5.0:數據社會學的理論與方法
- 工業機器人操作與編程
- Deep Reinforcement Learning Hands-On
- DevOps Bootcamp
- 網絡服務搭建、配置與管理大全(Linux版)
- 基于神經網絡的監督和半監督學習方法與遙感圖像智能解譯
- Introduction to R for Business Intelligence
- C#求職寶典
- 智能制造系統及關鍵使能技術