Some user feedback for Rancher `v2.10.1` the abbre...
# general
r
Some user feedback for Rancher
v2.10.1
the abbreviation of cluster names is worse than before. I have 4 cluster named
core-services-dev|tst|stg|prd-main
- before Rancher abbreviated them CSD, CST, CSS, CSP and now they are ALL names CSN.... πŸ‘Ž why use the last character of a cluster name in the abbreviation ?
☝️ 1
s
company-prod1 company-prod2 etc something doesn't seem right there though, core-services-dev should not equal csn. could you create an issue over at https://github.com/rancher/dashboard/issues describing what the names and abbreviations are? generally though there is no single abbreviation approach that works for every situation. there is however a way to customise the abbreviation (by editing the cluster directly or on the cluster dashboard page --> paintbrush icon)
r
all custers end with
-main
name hence the N letter at the end
f
chrom
s
I 100% agree! πŸ˜„ My
foo-dev
used to be
f-d
but now
foo-prod
becomes
f-d
instead.
πŸ˜† 1
r
@stocky-account-63046 the pen edit worked thanks
b
I came here to mention that you can set the text, but Richard beat me to it. πŸŽ‰
s
Oooh. Can the abbreviation be set via YAML manifests too?
b
Yeah I think it's just a field in the yaml object
s
Which one though. πŸ€”
b
Copy code
apiVersion: <http://provisioning.cattle.io/v1|provisioning.cattle.io/v1>
kind: Cluster
metadata:
  annotations:
    <http://field.cattle.io/creatorId|field.cattle.io/creatorId>: u-<uid>
    ui.rancher/badge-color: '#002cdb'
    ui.rancher/badge-icon-text: kni
    ui.rancher/badge-text: ''
πŸ‘ 2
s
There's no officially supported way to automate badge customisations. However they are pretty stable, and we're open source
πŸ’― 1