Module Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
Each Garden plugins defines different "module types" that you can use with it. For example, the Kubernetes plugin supports a kubernetes
and a helm
module type (among others) that you can pick, depending on your use case.
Garden projects can have multiple modules and you can mix and match as needed.
Below is a quick overview of the modules types for the Kubernetes plugin with links to in-depth usage guides.
kubernetes
module typeChoose this module type if you already have Kubernetes manifests for some of the workloads you want to deploy.
for how to configure it.
helm
module typeChoose this module type if you're using Helm and have the corresponding Helm charts.
for an in-depth guide on using Garden with Helm.
container
module typeUse this module type if you want to deploy a given service to Kubernetes but don't have the required Kubernetes manifests or Helm charts.
In this case, Garden will generate the Kubernetes manifests for you, based on the module config.
This is a good choice when getting started.
for how to use the container
module type with the Kubernetes plugin.
persistentvolumeclaim
and configmap
module typesThere's also a on the module type itself.
and modules types can be used to mount volumes and Kubernetes ConfigMaps in container
modules.