Giter Site home page Giter Site logo

Comments (4)

mnaser avatar mnaser commented on September 4, 2024

@runlevel-six: I think this is an interesting problem, right now, we are generating cluster names in the following way:

https://github.com/vexxhost/magnum-cluster-api/blob/main/magnum_cluster_api/utils.py#L45-L58

We're using cluster name + 10 characters. Since we're creating all of them inside the magnum-system namespace, we can't really have clusters with the name only, unless we start creating clusters in different namespaces but that starts to get a little bit more complicated and becomes a much bigger change.

I think what we can do is probably drop that down to 5 characters, that might help a little bit?

from magnum-cluster-api.

runlevel-six avatar runlevel-six commented on September 4, 2024

@mnaser I think that will definitely help, and we can work to shorten our cluster names as well. Any chance we can also shorten the node names since that is part of the overall length for some application applied labels?

I ask because in the example above, it looks like the name is foo-test-4admbibsdj-default-worker-infra-rb4bh-f2h5t which looks to be a mix of cluster name + 10 characters + worker name + 2 five character strings. In that example the cluster name was solely foo-test and all the rest is appended by Magnum.

from magnum-cluster-api.

mnaser avatar mnaser commented on September 4, 2024

Unfortunately the server name component actually comes from the Cluster API so we have to look for something there

from magnum-cluster-api.

runlevel-six avatar runlevel-six commented on September 4, 2024

Ok, thanks

from magnum-cluster-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.