DocsSetup & InstallationSetup your cluster

Setup your cluster

Based on the prerequisites you’ve set up, you’re now ready to configure your Kubernetes cluster for Lifecycle. This setup will ensure that your cluster is properly configured to run Lifecycle and manage your application environments effectively.

⚠️

Note that the infra setup with the OpenTofu modules below will open your cluster to the world.
🛡️ Make sure to shield your cluster by implementing appropriate network policies and access controls after the initial setup.

Click on the cloud provider you are using to set up your cluster:

Google Cloud Platform

Setup application credentials

Enable Kubernetes Engine and Cloud DNS APIs:

Note that you need to replace <PROJECT_ID> with your actual Google Cloud project ID not the project name.

Bootstrap infrastructure

  • Clone the infrastructure repository:

Example secrets.auto.tfvars file:

  • Initialize and apply the Terraform configuration:

This will create the necessary infrastructure components, including the Kubernetes cluster, DNS records, database, redis and other resources required for Lifecycle to function properly.

After the Terraform apply completes, you should have a fully functional Kubernetes cluster with the necessary resources set up.

Let’s test the public DNS setup by accessing the test application deployed called kuard and follow the rest of the setup instructions from the tofu apply output.

Refer example output here to setup kubeconfig and access the cluster using kubectl.

Now that your cluster is set up, you can proceed to installing Lifecycle application to your cluster.


Install Lifecycle

Amazon Web Services

*This profile needs to have access a user with AdministratorAccess access.


Bootstrap infrastructure

  • Clone the infrastructure repository:

Example secrets.auto.tfvars file:

  • Initialize and apply the Terraform configuration:

This will create the necessary infrastructure components, including the Kubernetes cluster, DNS records, database, redis and other resources required for Lifecycle to function properly.

After the Terraform apply completes, you should have a fully functional Kubernetes cluster with the necessary resources set up.

Let’s test the public DNS setup by accessing the test application deployed called kuard and follow the rest of the setup instructions from the tofu apply output.

Refer example output here to setup kubeconfig and access the cluster using kubectl.

Now that your cluster is set up, you can proceed to installing Lifecycle application to your cluster.


Install Lifecycle