You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The image reference from the ConfigMap is then used to create a Deployment
A short ttl_seconds_after_finished would allow clean up of the Job for it to be recreated on the next terraform apply
The ConfigMap could be used to share of information between envbuilder and Terraform (#121), like the volumes defined in the devcontainer.json (#220)
Detail to consider: I believe the Coder server starts streaming the logs from the deployment after the terraform apply has finished, it would need to be able to do it for the Job while the apply is running to expose the build logs to the user.
Is it something that has been thought of/done but not documented yet?
The text was updated successfully, but these errors were encountered:
Context
Currently, envbuilder runs at the start up of a workspace, exposing elements of the buildtime to the runtime and vice-versa:
coder
andenvbuilder
in k8s cluster #181)Proposal 1: initContainer
This would require to generate/know the image reference ahead of time.
Proposal 2: Kubernetes Job
Entire decoupling of buildtime and runtime:
Job
to build and push the container imageConfigMap
with the reference of the built imageJob
ConfigMap
withkubernetes_config_map
datasource (explicitly depending on theJob
creation)ConfigMap
is then used to create aDeployment
ttl_seconds_after_finished
would allow clean up of the Job for it to be recreated on the nextterraform apply
The
ConfigMap
could be used to share of information betweenenvbuilder
and Terraform (#121), like the volumes defined in thedevcontainer.json
(#220)Detail to consider: I believe the Coder server starts streaming the logs from the deployment after the
terraform apply
has finished, it would need to be able to do it for theJob
while the apply is running to expose the build logs to the user.Is it something that has been thought of/done but not documented yet?
The text was updated successfully, but these errors were encountered: