我尝试使用 Google 的 UI 在我的集群中启动一个新的 f1-micro 节点,但它默默地失败了。所以我决定使用 gcloud 运行它,看看它是否提供了更多细节
所以我运行了以下
gcloud container node-pools create my-f1-pool --image-type ubuntu --machine-type=f1-micro --cluster bcomm-sg-cluster --disk-size=10GB --enable-autoscaling --min-nodes=2 --max-nodes=6 --zone=asia-southeast1-a --enable-autorepair
Run Code Online (Sandbox Code Playgroud)
这是我得到的结果
WARNING: Modifications on the boot disks of node VMs do not persist across node recreations. Nodes are recreated during manual-upgrade, auto-upgrade, auto-repair, and auto-scaling. To preserve modifications across node recreation, use a DaemonSet.
WARNING: Newly created clusters and node-pools will have node auto-upgrade enabled by default. This can be disabled using the `--no-enable-autoupgrade` …Run Code Online (Sandbox Code Playgroud) google-cloud-platform gcloud microservices devops kubernetes-cluster