Bureaucrat is a tool for making parametric Kubernetes deployments.
Installation
Prerequisites:
To install (or update) bureaucrat, run npm install -g @wellplayed/bureaucrat@latest
.
Usage
Apply changes to a deployment (including deploying a fresh deployment)
bureaucrat apply --namespace=my-namespace ./my-package deployment-name -f extra-config.yaml
-f
(--config-file
) merges the contents of a YAML file into the config.-n
(--namespace
) specifies which Kubernetes namespace to deploy into.
Compile a deployment (to see what resources it would deploy)
bureaucrat compile ./my-package deployment-name -f extra-config.yaml
List a deployment
bureaucrat list delpoyment-name
Delete a deployment
Delete all resources associated with a deployment - make sure to use bureaucrat list deployment
first to check what will get removed.
bureaucrat delete deployment-name