-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
What happened:
Cannot run the example command
What you expected to happen:
The example command runs without an error
How to reproduce it (as minimally and precisely as possible):
$ spotctl ocean create cluster kubernetes spotctl-k8s
Exited with error: POST https://api.spotinst.io/ocean/aws/k8s/cluster?accountId=xxx: 400 (request: "10bfcd39-fec0-4894-9ba7-1c3927149b9d") ValidationError: "name" is required (field: body:cluster.name)
# so I tried
$ spotctl ocean create cluster kubernetes \
--name spotctl-k8s
Exited with error: POST https://api.spotinst.io/ocean/aws/k8s/cluster?accountId=xxx: 400 (request: "890f2f3e-f060-4e14-8bc8-f7e34f832da7") ValidationError: "controllerClusterId" is required (field: body:cluster.controllerClusterId)-> could not find a controllerClusterId param so I gave up.
Anything else we need to know:
Environment:
- CLI version (use
spotinst version):0.0.12+4af55ea - OS (e.g:
cat /etc/os-release): MacOS Catalina10.15.3 - Kernel (e.g.
uname -a):Darwin xxx.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64 i386 MacBookPro15,2 Darwin - Others:
- Kops:
Version 1.16.0
- Kops:
corymacd
Metadata
Metadata
Assignees
Labels
No labels