Installation on OpenShift
On this page
Prerequisites
Version Compatibility
Please check Kubernetes Compatibility for the minimum required OpenShift version for your version of Ververica Platform.
Installation
In order to run Ververica Platform under the restricted Security Context Constraints (SCC), the securityContext.fsGroup entry of the Ververica Platform pod needs to be unset. For this, add the following entry to your values.yaml (../installation-and-upgrades/install-with-helm/install-with-helm.mdx) file to remove the default securityContext.fsGroup entry:
1#
2# EmptySecurity Context of Ververica Platform Pod. Comment out when running on Openshift.
3#
4securityContext:We will use helm to template the Kubernetes resources, but depending on your OpenShift setup, we may or may not be able to use helmfor the actual installation. Helm 3 is available as a Tech Preview in OpenShift 4.3 but should work on earlier versions as well.
Installation with Helm
If Helm 3 is available for your OpenShift cluster, you can follow the instructions as outlined in Installation using Helm. This guide in the OpenShift docs gives a good, hands-on introduction on how to get started with helm on OpenShift.
Installation with Helm and oc
If a direct installation with helm is not an option, you can first use helm template to generate the correct resource definitions and afterwards apply the generated resource definitions to the cluster:
Step 1: Templating the Resource Definitions
First, you use helm to template the Kubernetes resource definitions based on the provided configuration (values.yaml) and store results in the vvp-resources directory.
1helm repo add ververica https://charts.ververica.com
2helm template vvp ververica/ververica-platform \
3 --namespace vvp \
4 --values values-vvp.yaml \
5 --output-dir vvp-resourcesStep 2: Applying Resources to OpenShift Cluster
Afterwards, you use oc apply to create the resources in your OpenShift cluster.
1oc apply --recursive --filename vvp-resources