Install Lifecycle
Now that the infrastructure components are setup, let’s install the lifecycle app and create a new Github app that will send events to the application to process and create ephemeral dev environments.
Make sure you have updated the kube config to be able to helm install
in the
cluster you just created!
- Clone the repository:
- Install the Lifecycle Helm chart:
Make sure to replace values with your actual domain.
- Wait for the installation to complete and verify that the pods are running:
- Once the pods are running, you can access the application at your configured domain (e.g.
https://app.0env.com
)
Just like that, you have successfully installed Lifecycle and set up the necessary infrastructure to start creating ephemeral environments for your GitHub pull requests!
If you notice any secure certificate issues when accessing the application, you can check the status of your certificate using the following command:
Make sure the certificate is in the Ready
state. If it is not, you may need to wait a bit longer for the certificate to be issued or troubleshoot any issues with your DNS settings.
Let’s move on to the next step where we will create a GitHub app to connect Lifecycle with your repositories.