如果我运行jx create cluster aws ->,它会在亚马逊网络服务上创建集群,没有任何问题,但如果我不想指定一些如下的选项:
jx create cluster aws --zones us-east-2b --nodes=2 --node-size=t2.micro --master-size=t2.micro然后它总是失败,无论我试图改变什么,几乎所有的选项都会出现这样的错误:
Error: unknown flag: - -node-size and the same for other options. Options were taken from here https://jenkins-x.io/commands/jx_create_cluster_aws/使用任何选项设置kops集群都不会有任何问题
发布于 2018-07-14 13:06:53
我在评论中询问过这个问题,但实际的答案似乎是您使用的jx版本与文档不符。因为这是我使用新下载的二进制文件的经验:
$ ./jx create cluster aws --verbose=true --zones=us-west-2a,us-west-2b,us-west-2c --cluster-name=sample --node-size=5 --master-size=m5.large
kops not found
kubectl not found
helm not found
? Missing required dependencies, deselect to avoid auto installing: [Use arrows to move, type to filter]
❯ ◉ kops
◉ kubectl
◉ helm
? nodes [? for help] (3)
^C
$ ./jx --version
1.3.90发布于 2018-08-01 13:06:33
您可以通过以下方式查看您正在使用的jx版本:
jx version您可以通过jx help create cluster aws或浏览命令的online CLI reference来检查命令的选项:jx create cluster aws
https://stackoverflow.com/questions/51297876
复制相似问题