VirtusLab / infrastructure-as-types

Infrastructure as Types - modern infrastructure declaration and deployment toolkit
26 stars 3 forks source link

Provide a way to create controllers for blue-green deployments #17

Open PawelLipski opened 4 years ago

PawelLipski commented 4 years ago

@pawelprazak : possibly the piece for custom resources as seen here: https://github.com/amir/cr4s/blob/master/example/src/main/scala/Foo.scala could be used

pawelprazak commented 4 years ago

there's a very hacky PoC that shows why we need a controller/reconciler abstractions: https://github.com/VirtusLab/infrastructure-as-types/blob/feature-blue-green-poc/examples/src/main/scala/com.virtuslab.iat.examples/BlueGreen.scala https://github.com/VirtusLab/infrastructure-as-types/blob/feature-blue-green-poc/skuber/src/main/scala/com.virtuslab.iat.skuber/syntax.scala#L56

Related to #13