Git Product home page Git Product logo

Comments (6)

chanwit avatar chanwit commented on July 30, 2024 1

I'll get the first version of POC out. We can then discuss and move it forward.

from tf-controller.

phoban01 avatar phoban01 commented on July 30, 2024 1

@chanwit Looks alright to me.

from tf-controller.

phoban01 avatar phoban01 commented on July 30, 2024

Couple of additional thoughts on this:

  • Will we aim to support persistence for the Terraform Runner Pod? This would be required for caching providers etc... Introduces a little complexity as may require a TerraformStatefulRunner in addition to an (ephemeral/one-shot) TerraformRunner.
  • Is it our intention to handle TLS generation/rotation within the controller code a la Gatekeeper or can we offload this to cert-manager? It may reduce the initial effort if cert-manager can handle it.
  • How is reconcile state distributed between controller & runner, i.e. what does .status.conditions look like for the runner? This has knock on implications for how we handle communication and trigger the reconcile loop in tf-controller. I think communicating via status conditions should be the preferred route but it might also be possible to do something similar to flux/notification controller using a gRPC call.

from tf-controller.

chanwit avatar chanwit commented on July 30, 2024

Will we aim to support persistence for the Terraform Runner Pod? This would be required for caching providers etc... Introduces a little complexity as may require a TerraformStatefulRunner in addition to an (ephemeral/one-shot) TerraformRunner.

This is a good question. I'm thinking of it as a stateless system. Runner Pod is a gRPC server which allows to crash.

Is it our intention to handle TLS generation/rotation

We'll do our own TLS generation, yes. A goal is to make the controller self-contained

How is reconcile state distributed between controller & runner

Reconciliation process happens only inside the controller using the current set of logics.
Runner Pod will be issued a command, and send output back to the Controller, via gRPC, just like we run that command locally.

from tf-controller.

chanwit avatar chanwit commented on July 30, 2024

@phoban01 would you like to further split this epic into other issues?

from tf-controller.

chanwit avatar chanwit commented on July 30, 2024

Work done enough to close this issue. We'll fix other related issues along the way.

from tf-controller.

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.