What Youâll Learn
In this guide, you will learn how to deploy Flipt to a local Kubernetes cluster (via Kind) using our official Helm chart. Youâll also learn how to override the default Flipt configuration by providing avalues.yaml
file.
By the end of this guide, we will have:
- đ˘ Created a Kind cluster locally using Docker
- đŚ Installed Flipt into your cluster via Helm
- âď¸ Configured Flipt log level and other settings via a
values.yaml
file
Prerequisites
- Docker installed (Download)
- Helm v3.x installed (Installation guide)
- Kind installed (Installation guide)
Deploying Flipt
1. Create a Local Kubernetes Cluster Using Kind
First, we need to create a local Kubernetes cluster. Weâll use Kind to accomplish this. Open a terminal and run the following command:flipt
. Wait for the command to complete and ensure the cluster is correctly set up.
2. Add the Flipt Helm Repository
Next, weâll add the Flipt Helm repository which hosts the Flipt Helm charts. Run the following command:3. Update Helm Repositories
To ensure that Helm has the latest information about the charts from the Flipt Helm repository, update the repositories:4. Install Flipt with Custom Configuration
Before installing Flipt, you should create avalues.yaml
file to customize the deployment according to your preferences. For example, to set a specific configuration value, you could add the following to your values.yaml
file:
values.yaml
file, you can use it when installing Flipt with Helm by using the -f
or --values
flag:
values.yaml
file merged with the default values from Flipt.
The
values.yaml
file allows you to customize many aspects of the deployment,
including resource limits and requests, service types, replica counts, and
more. Be sure to consult the Flipt
documentation and the
default values.yaml
in the Flipt Helm chart for more information on what can
be configured.5. Forward the Port to Access Flipt
After successfully installing Flipt via the Helm chart, you should see instructions on how to access Flipt in your terminal. The instructions will look something like this:http://localhost:8080
.
6. Verify the Installation and Configuration
To ensure that Flipt has been correctly deployed to your Kubernetes cluster, you can check the running pods:Running
.
curl
Fliptâs /meta/config
endpoint:
values.yaml
file.
Next Steps
Congratulations! Youâve successfully deployed Flipt to a local Kubernetes cluster using our Helm chart. Youâve also learned how to override the default Flipt configuration by providing avalues.yaml
file.
You should be able to take the knowledge youâve gained in this guide and deploy Flipt in to a real Kubernetes cluster.
Please refer to the Flipt Helm chart repository for more information on how to configure Flipt using the Helm chart.
Additionally, you should checkout our documentation on our native Kubernetes authentication method.
This method can be leveraged to automatically authenticate clients, without the need to manually manage credentials, for applications deployed into the same Kubernetes cluster as Flipt.