makes
makes copied to clipboard
Kubernetes module
Managing the kubernetes life cycle can easily be embedded on Makes while making the process declarative instead of imperative. This will also allow for other people to re-use a well structured mechanism for applying/rolling-out/destroying and debugging
Example implementation:
- https://gitlab.com/fluidattacks/product/-/tree/708bb9d1662b8431c2439d540465c72167b9b719/makes/foss/units/integrates/back/deploy/dev
- https://gitlab.com/fluidattacks/product/-/tree/708bb9d1662b8431c2439d540465c72167b9b719/makes/foss/units/integrates/back/deploy/prod
I'm prototyping a nomad job tree, so that:
/deploy/namespace1/job1
/deploy/namespace1/job2
...
/deploy/namespace2/...
...
- jobs ~=
k8s.io/Deployment
- namespace:
dev
/staging
/prod
I would advise using Terraform for this instead as it perfectly manages states within clusters.
We can also take advantage of workspaceForTerraformFromEnv to manage several environments of the same resources. i.e Development environments.