Skip to content
Discussion options

You must be logged in to vote

@mrsimonemms In Synapse, we deploy to either Docker or Kubernetes depending on the environment the workflow is running in. Personally, I would avoid having separate task or workflow definitions to decide whether something runs on Docker vs Kubernetes. That choice should be an environmental concern, not something the task itself needs to encode.

I would also strongly recommend avoiding any need to “expose” Kubernetes-specific configuration (like kubeconfig paths or service accounts) to the workflow definition. Doing so quickly becomes cumbersome and error-prone, and it leaks implementation details into the workflow layer. This is especially problematic when workflow authors or users may no…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mrsimonemms
Comment options

@mrsimonemms
Comment options

Answer selected by mrsimonemms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants