Git Product home page Git Product logo

Comments (3)

christianh814 avatar christianh814 commented on May 28, 2024 2

I would recommend tracking this out of band?

I see that Provider.List() returns a []string so I can probably create a filter like...

func filter(s []string) []string {
	prefix := "foo-"
	var ns []string
	for _, i := range s {
		if strings.HasPrefix(i, prefix) {
			ns = append(ns, i)
		}
	}
	return ns
}

I would have to mutate the name passed to me (because I still allow that in my wrapper utility)

from kind.

BenTheElder avatar BenTheElder commented on May 28, 2024

This is going to be clunky to support portably, because of varying restrictions in the underlying tools on what labels can be in the node runtimes, the current labels are a technically undocumented implementation detail and if we had to support a new node backend with compat issues for our internal usage we could use some other technique entirely (or base64 encode or ...).

I would recommend tracking this out of band?

from kind.

BenTheElder avatar BenTheElder commented on May 28, 2024

When using KIND as a library, there's no way to distinguish which ones are created by KIND itself, or if it was created by another tool using KIND as a library.

I mean, to the kind CLI and to the packages, that's working as intended? These just indicate that the kind code should be able to manipulate the container-nodes and stores some internal metadata used by the packages/cli.

Usually people pick reasonably unique cluster names like istio-test or something.

from kind.

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.