← 返回命令列表

Linux command

kops 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create cluster

kops create cluster --name=[cluster.example.com] --zones=[us-east-1a]

Update cluster

kops update cluster [cluster.example.com] --yes

Validate cluster

kops validate cluster [cluster.example.com]

Delete cluster

kops delete cluster [cluster.example.com] --yes

Edit cluster

kops edit cluster [cluster.example.com]

Export kubeconfig

kops export kubeconfig [cluster.example.com]

说明

kops manages production Kubernetes clusters. It creates, updates, and destroys clusters on cloud providers. The tool handles networking, node groups, and add-ons. It supports AWS, GCE, and other clouds.

参数

create cluster
Create cluster configuration.
update cluster
Apply cluster changes.
validate cluster
Verify cluster health.
delete cluster
Delete cluster.
--name _NAME_
Cluster name.
--zones _ZONES_
Availability zones.
--yes
Confirm changes.
--help
Display help information.

FAQ

What is the kops command used for?

kops manages production Kubernetes clusters. It creates, updates, and destroys clusters on cloud providers. The tool handles networking, node groups, and add-ons. It supports AWS, GCE, and other clouds.

How do I run a basic kops example?

Run `kops create cluster --name=[cluster.example.com] --zones=[us-east-1a]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does create cluster do in kops?

Create cluster configuration.