Quickstart
Last updated
Was this helpful?
Last updated
Was this helpful?
Garden is a DevOps automation tool for developing and testing Kubernetes apps faster.
In this quickstart guide, we'll:
Install Garden
Deploy an example project it to a local Kubernetes cluster
If you don't have Kubernetes installed, you can check out our guide on or simply skip that step.
Install the Garden CLI for your platform:
For more detailed installation instructions, see our .
Next, we clone the example project from GitHub and change into the project directory:
Now we need to connect the project to the Garden Cloud backend. This is required to use features such as and the .
You connect the project via the login command like so:
You'll be asked to create an account if you haven't already. Once you've logged in an organizationId
will be added to the project config. This is of course just an example project but in general you should check the Garden config file with the organizationId
into your source control.
Now we can deploy the example project to our local Kubernetes cluster. We'll deploy the project in sync mode which enables live code syncing and starts the dev console:
The quickstart also includes unit and integration tests. To run your unit test, just run test unit
. To run your integration test, run test integ
. Easy!
The project itself doubles as an interactive guide that walks you through some common Garden commands and workflows. We encourage you to give it a spin!
Now that you have Garden installed and seen its basic capabilities it's time to take the next steps.
You can .
This will build all the containers in this project with the and deploy them to your Kubernetes cluster. You can then visit the example project output by Garden.
Start by checking out the which covers the main concepts that you need to understand.
After that you can either go through which explains step-by-step how to add Garden to an existing project. Or you can check out the which gives you a more high level but still step-wise overview of how to adopt Garden and add it to your stack.
If you have any questions or feedback—or just want to say hi 🙂—we encourage you to join our !