Get Started - Installation
In this getting started guide, we take you through the steps to install Ververica Platform and integrate it with MinIO for Universal Blob Storage. Optionally, after installation, we also demonstrate how to link the platform to a metrics and logging system.
Ververica Platform Enterprise offers a 30-day free trial license if you want to evaluate the Platform. Visit the Ververica Platform Enterprise trial request page for details.
First steps
The first steps to installing Ververica Platform are spinning up a Kubernetes cluster and installing Helm for distribution. We will walk through the installation procedures and operating systems used by these tools.
Kubernetes
Ververica Platform runs on top of Kubernetes. In order to get started locally, we recommend using minikube, but any other Kubernetes Cluster will do, too.
Minikube relies on either virtualization support by your operating system and a hypervisor (e.g. Virtualbox), or a container runtime (e.g. Docker). Check out the official installation guide for details.
Though the Ververica Platform itself runs on any Kubernetes cluster version 1.11+, other parts of the Playground require version 1.16+.
Minikube on Mac OS (homebrew)
brew install kubectl minikube
Minikube on Windows (Chocolatey)
choco install kubernetes-cli minikube
Minikube on Linux
There are packages available for most distros and package managers. Check the kubectl installation guide as well as the minikube installation guide for details.
Spin up a Kubernetes Cluster
To start minikube
, use the following command, making sure to specify 8G of memory and 4 CPUs to meet platform requirements (includes a small Apache Flink® application):
minikube start --memory=8G --cpus=4
Upon success, check if all system pods are ready with the following:
kubectl get pods -n kube-system
Depending on your exact version of minikube, the output will look similar to the following with all pods running:
NAME READY STATUS RESTARTS AGE
coredns-5644d7b6d9-56zhg 1/1 Running 1 2m
coredns-5644d7b6d9-fdnts 1/1 Running 1 2m
etcd-minikube 1/1 Running 1 2m
kube-addon-manager-minikube 1/1 Running 1 2m
kube-apiserver-minikube 1/1 Running 1 2m
kube-controller-manager-minikube 1/1 Running 1 2m
kube-proxy-9w92r 1/1 Running 1 2m
kube-scheduler-minikube 1/1 Running 1 2m
storage-provisioner 1/1 Running 2 2m
Helm
"Helm helps you manage Kubernetes applications — Helm charts help you define, install, and upgrade even the most complex Kubernetes application." — From the Helm website
Ververica Platform is distributed as a Helm chart. To install Helm, please follow the instructions in the official Helm installation guide or run one of the following commands.
Please ensure that you install Helm v3+. This can be verified by running helm version
after installation.
Helm on Mac OS (homebrew)
brew install helm
Helm on Windows (Chocolatey)
choco install kubernetes-helm
Helm on Linux
There is a package available for most distros and package managers. For details, check the official installation guide.
Set Up the Playground
With Kubernetes and Helm installed, the next step is setting up the Ververica Platform playground. For this guide, clone the Ververica Platform playground repository which contains scripts and Helm values files. After cloning the repository, all commands are run from the repository's root directory.
git clone --branch release-2.15 https://github.com/ververica/ververica-platform-playground.git
cd ververica-platform-playground
Playground anatomy
For this playground, we use two Kubernetes namespaces: vvp
and vvp-jobs
.
vvp
hosts the control plane of Ververica Platform and other services, while the Apache Flink® jobs managed by the platform will run in the vvp-jobs
namespace.
In addition to Ververica Platform, we will set up MinIO in the vvp
namespace, which will be used for artifact storage and Apache Flink® checkpoints & savepoints (see Universal Blob Storage).