Coder Social home page Coder Social logo

Comments (3)

pst avatar pst commented on July 17, 2024

Kubestack aims to be a batteries included framework. To integrate with existing infrastructure in other VPCs, you can use peering. I believe having required resources like VPCs built-in makes the preview, validate, promote workflow more resilient.

If you're facing problems, I encourage you to create Github issues so that they can be addressed. Better even, I invite you to contribute fixes.

from terraform-kubestack.

kratkyzobak avatar kratkyzobak commented on July 17, 2024

We have similar issues.

We could use default ones and then connect them to our infrastructure as meintoned by @pst. But to be able to this, we would need modules to provide more outputs.

We're currently targeting to Azure. For example, we would like to apply some NSG rules to created subnet, so, we need to create either NSG via kubectack and expose it's ID in output, or better - expose subnet in output to be able to link NSG. Don't know which approach is better.

Would PRs aiming to expose more terraform resources via output have chance to be approved? We're currently focused only on Azure and so we don't know which resources would be reasonable to expose from module for another clouds, so we can probably provide PRs for Azure only as we don't know other clouds.

from terraform-kubestack.

pst avatar pst commented on July 17, 2024

The way I go about this is using data sources. You can see a quite elaborate example of this in the AWS node pool module. It uses various data sources to get information like the cluster's VPC etc, to then integrate with the VPC or extend it.

https://github.com/kbst/terraform-kubestack/blob/master/aws/cluster/node-pool/data_sources.tf

from terraform-kubestack.

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.