[k8s] add-k8s command has ambigious UX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Anastasia |
Bug Description
juju bootstrap aws aws
juju deploy kubernetes-core
juju deploy -n 3 ceph-mon --constraints mem=1G
juju deploy -n 3 ceph-osd --storage osd-devices=32G,2 --storage osd-journals=8G,1 --constraints mem=1G
juju add-relation ceph-osd ceph-mon
juju add-relation ceph-mon:admin kubernetes-master
juju add-relation ceph-mon:client kubernetes-master
juju scp kubernetes-
By mistake I specified cloud type 'gce' when adding this cluster to Juju:
juju add-k8s --local --region=
Yet it still worked:
k8s substrate "gce/us-east1" added as cloud "aws-cluster" with storage provisioned
by the existing "ceph-ext4" storage class
operator storage provisioned by the workload storage class.
You can now bootstrap to this cloud by running 'juju bootstrap aws-cluster'.
Further testing shows that any string for cloud type will work:
juju add-k8s --local --region=
as long as a string is included:
juju add-k8s --local --region=/us-east1 --storage=ceph-ext4 aws-cluster
ERROR validating cloud region "/us-east1": cloud region "/us-east1" not valid
Changed in juju: | |
assignee: | nobody → Anastasia (anastasia-macmood) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.7-beta1 |
Changed in juju: | |
status: | Fix Committed → Fix Released |
"gce" is actually the correct thing to type so it was not a mistake.
If xxblahxx is typed that should result in an error.