Giter Club home page Giter Club logo

Comments (6)

nawazkh avatar nawazkh commented on August 24, 2024

Hey @ionutleca , thank you for opening up the issue.
What is the network plugin mode being used in your spec? Is it of the type overlay ?

from cluster-api-provider-azure.

ionutleca avatar ionutleca commented on August 24, 2024

Hi @nawazkh. Yes, It's overlay.

from cluster-api-provider-azure.

ionutleca avatar ionutleca commented on August 24, 2024

There might be an issue in the way I ran these tests, I'm not sure how it can ever end up sending "" to Azure (where that AddressPrefixStringCannotBeNullOrEmpty seems to come from), considering that CAPZ defaults it as soon as we apply the AMCP resource. (irrespective of overlay/noOverlay)

Until I clarify that on my side, can we get a response to the "Is empty string the right value here when referencing existing vnets?" question? I couldn't find any recommendation for this usecase in the docs.

from cluster-api-provider-azure.

ionutleca avatar ionutleca commented on August 24, 2024

Sorry for any time wasted, but I couldn't replicate the AddressPrefixStringCannotBeNullOrEmpty in 1.13.* . Might have been just a faulty control plane I was using for tests.

Tested today on CAPZ 1.15.2 (CAPI 1.7.3) with "" CIDR values with and without overlay. Both clusters look healthy.
We just need a go ahead on the "empty string is a good ideea" here.

from cluster-api-provider-azure.

nojnhuh avatar nojnhuh commented on August 24, 2024

Empty string there seems fine to me. CAPZ should not be making any updates to a pre-created vnet or subnet, so as long as you're not hitting any other errors and the resources look the way you expect in Azure, I think you're good to go. Let us know if you observe otherwise though.

/close

from cluster-api-provider-azure.

k8s-ci-robot avatar k8s-ci-robot commented on August 24, 2024

@nojnhuh: Closing this issue.

In response to this:

Empty string there seems fine to me. CAPZ should not be making any updates to a pre-created vnet or subnet, so as long as you're not hitting any other errors and the resources look the way you expect in Azure, I think you're good to go. Let us know if you observe otherwise though.

/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-sigs/prow repository.

from cluster-api-provider-azure.

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.