This guide lists the different ways to set up your environment for {product_name} development. If you are new, start with the minimal one.
-
A machine with at least 8GB memory and a CPU with 8 cores
Recommended steps to set up your local development environment. By completing these steps you are able to start the development on your local machine using our guides.
-
Install Kubernetes CLI.
-
Install Knative using quickstart. This will also set up Knative Serving and Eventing for you and the cluster should be running.
-
Install the {operator_name} manually.
-
Install Knative Workflow CLI.
-
Install Visual Studio Code with our extension that simplifies development of workflows by providing visual aids and auto-complete features.
If you have used Knative using quickstart guide, your selected cluster should be running and properly configured to work with our guides.
Please note, that if the Knative quickstart procedure is not used, you need to install Knative Serving and Eventing manually. See Additional options for local environment setup.
- Minikube with Docker
-
Configure and startup minikube with Docker
# Set a driver and container runtime minikube config set driver docker minikube config set container-runtime docker # Start the cluster # Set the memory to at least 4096, increase to 6144 or 8192 if possible minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000" # Set the active profile minikube profile knative
- Minikube with Podman
-
Configure and startup minikube with Podman
# Set a driver and container runtime minikube config set driver podman minikube config set container-runtime podman # Start the cluster # Set the memory to at least 4096, increase to 6144 or 8192 if possible minikube start --cpus 4 --memory 4096 --addons registry --addons metrics-server --insecure-registry "10.0.0.0/24" --insecure-registry "localhost:5000" # Set the active profile minikube profile knative
- Kind
-
Start a kind cluster
kind create cluster
If you are interested in our Java and Quarkus development path, consider completing this procedure in addition to the Minimal local environment setup. By completing these steps you are able to start the development of applications on your local machine using our advanced developer guides.
-
Install OpenJDK {java_min_version} and configure
JAVA_HOME
appropriately by adding it to thePATH
. -
Install Apache Maven {maven_min_version}.
-
Install Quarkus CLI corresponding to the currently supported version by {product_name}. Currently, it is {quarkus_version}.
Points listed in this section provide extra possibilities when working with our guides and are considered optional.
-
Install GraalVM {graalvm_min_version}. This will allow you to create native image of your {product_name} application.
-
Install Knative Serving using YAML files for advanced customizations or in cases where the quickstart procedure fails.
-
Install Knative Eventing using YAML files for advanced customizations or in cases where the quickstart procedure fails.