microsoft / bedrock

Automation for Production Kubernetes Clusters with a GitOps Workflow
MIT License
129 stars 12 forks source link

Generate multi node spk template enhanced functionality #791

Open NathanielRose opened 4 years ago

NathanielRose commented 4 years ago

As a: Developer

I want: to generate Terraform files for a multi-cluster based on parent-leaf definitions in parallel

So that: Accelerate the generation of my spk template across multiple deployment regions in one command.

Describe the solution you'd like: This is an extension to #721

Acceptance Criteria: Upon generation, spk infra generate(e.g.spk infra generate -p discovery-service) should:

Additional context: https://github.com/CatalystCode/bedrock-end-to-end-dx#generating-deployable-cluster-terraform-scripts

Does this require updates to documentation?: Yes

andrebriggs commented 4 years ago

@NathanielRose @yradsmikham is this still needed?

yradsmikham commented 4 years ago

@andrebriggs Yes! This would be a nice enhancement to spk infra generate.

andrebriggs commented 4 years ago

@NathanielRose @yradsmikham is the main benefit that we are able to generate multiple sub directories in parallel? If so, have we measured how much of a time savings this would be?

yradsmikham commented 4 years ago

@andrebriggs, that is correct. I measure this as something between a S to a M.