infrastructure-as-types
infrastructure-as-types copied to clipboard
Infrastructure as Types - modern infrastructure declaration and deployment toolkit
A very interesting idea from Matthew Smedberg:  Related to #1
Asked by @pawelprazak : How difficult would it be to generate a DSL automatically based on OpenAPI (see `iat-openapi` sbt module)? https://github.com/fkorotkov/k8s-kotlin-dsl#complete-deployment-example
As for now, e.g. `upsert` methods are side-effecting but paren-less (other than implicit param list), this goes against the Scala conventions
Unless there's a specific need to use the former... but I don't think there is
@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
An option in that would act like `helm upgrade --wait` (wait until deployed resources are ready) would be useful. Using `kubectl wait` for that purpose is kinda hard to scale...
https://github.com/kubernetes-sigs/application/blob/master/README.md https://github.com/kubernetes-sigs/application/blob/master/docs/api.md
For instance, try running `GuestBook` with an invalid `IAT_KUBE_CONTEXT`.