Giter VIP home page Giter VIP logo

Comments (6)

schrej avatar schrej commented on June 21, 2024

It's not a bug in the API, it's rather a bug in the documentation. Seems I used the wrong field name when I wrote that.

from cluster-api-ipam-provider-in-cluster.

schrej avatar schrej commented on June 21, 2024

/assign

from cluster-api-ipam-provider-in-cluster.

simonfelding avatar simonfelding commented on June 21, 2024

I see. Thank you!

By the way, as a user it's not entirely clear if spec.prefix is optional or not when spec.adresses is a CIDR like in my case. According to the docs, there's some logic that derives the prefix from the CIDR, but only if the first address is a CIDR. Yet it also sounds like spec.prefix is a required field. 🙂

from cluster-api-ipam-provider-in-cluster.

schrej avatar schrej commented on June 21, 2024

Prefix is required. The important thing is that all addresses (doesn't matter whether it's individual addresses, ranges or CIDRs) need to fit into one prefix. The prefix is created from the first address that is part of the pool and the specified prefix. All other addresses must be within that prefix.

from cluster-api-ipam-provider-in-cluster.

schrej avatar schrej commented on June 21, 2024

I've fixed the "excludedAddresses" mistake with a naughty direct commit.
/close

from cluster-api-ipam-provider-in-cluster.

k8s-ci-robot avatar k8s-ci-robot commented on June 21, 2024

@schrej: Closing this issue.

In response to this:

I've fixed the "excludedAddresses" mistake with a naughty direct commit.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from cluster-api-ipam-provider-in-cluster.

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.