helm repo add --username USERNAME --password API_KEY gentics \
https://repo.apa-it.at/artifactory/gtx-helm/
Kubernetes is an open-source container-orchestration system for automating application deployment, scaling, and management. It replaces many manual tasks that have typically been performed by the operations teams, thereby improving uptime, reliability and reproducability of deployments. As already mentioned in the Recommended Deployment section, we recommend Kubernetes as a platform for running Gentics Content Management Platform in production.
Gentics provides both the container images and the necessary Kubernetes resource configuration (as Helm charts) for Gentics CMS and Gentics Mesh. Depending on your contract, images and resource configuration for Gentics Portal will either be provided by Gentics or created by yourself.
Helm charts are our prefered way of packaging all configuration required by Kubernetes (e.g., which containers have to be started, network connectivity, storage, environment settings, …). To allow you to customize your deployment, we provide a documented “values” file for each component. It is suggested to maintain these files in source control.
The following documentation expects that you already performed the following steps:
NetworkPolicy
resources, or have a mixed Kubernetes/non-Kubernetes deployment. helm repo add --username USERNAME --password API_KEY gentics \
https://repo.apa-it.at/artifactory/gtx-helm/
helm repo add elastic https://helm.elastic.co
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add codecentric https://codecentric.github.io/helm-charts
helm repo update
If you have an existing MariaDB installation, you can skip this step.
Please decide whether you need a clustered or single instance installation of MariaDB, taking our Recommended Deployment into account.
helm show values bitnami/mariadb
rootUser
, db
, master.persistence
, master.config
, replication
, and slave.persistence
. You need to make sure that the config file you provide matches both the requirements of the Helm chart (e.g. when it comes to paths) and the database settings required by Gentics CMS. helm -n NAMESPACE upgrade -i -f mariadb/values.yaml \
mariadb bitnami/mariadb
Follow the same procedure as for a single instance MariaDB, but use the Helm chart bitnami/mariadb-galera
instead. Please refer to the MariaDB Galera cluster Helm chart documentation for configuration options. Take special interest in the values rootUser
, db
, galera
, mariadbConfiguration
and persistence
.
If you have an existing Keycloak installation, or don’t plan to use single sign-on, you can skip this step.
Check the default values of the chart:
helm show values codecentric/keycloak
keycloak.password
. helm -n NAMESPACE upgrade -i -f keycloak/values.yaml \
keycloak codecentric/keycloak
If you have an existing Elasticsearch installation or don’t plan to use search features, you can skip this step.
helm show values elastic/elasticsearch
replicas
, imageTag
, and persistence
. Make sure that the Elasticsearch version you are using is within the supported range of Gentics CMS and Gentics Mesh. helm -n NAMESPACE upgrade -i -f elasticsearch/values.yaml \
elasticsearch elastic/elasticsearch --version 6.8
extraVolume
and mount it under /usr/share/elasticsearch/config/analysis/
. Then, follow the Gentics CMS Elasticsearch guide to download the required files and copy them onto this volume.
helm show values gentics/gentics-mesh
replicaCount
, persistence
, keystore.password
, backup.enabled
, credentials.initialAdminPassword
Set the Elasticsearch base URL at elasticsearch.url
. Set the Keycloak public key (as a JSON encoded string) at config.publicKeys
. replicaCount=1
. Thus, install the Gentics Mesh Helm chart with:helm -n NAMESPACE upgrade -i --wait -f gentics-mesh/values.yaml \
--set "replicaCount=1,backup.enabled=false" \
gentics-mesh gentics/gentics-mesh
helm -n NAMESPACE upgrade -f gentics-mesh/values.yaml \
gentics-mesh gentics/gentics-mesh
helm show values gentics/cms
persistence
, config.cms
and backup
. Set the database
values to point to your MariaDB installation. Set licensekey
to the value you received from your Gentics technical customer consultant. Set the values in keycloak
to match your Keycloak installation.helm -n NAMESPACE upgrade -i -f gentics-cms/values.yaml \
gentics-cms gentics/cms
As the Gentics Portal | php deployment is always tailor-made for each project, you will receive detailed installation instructions during the project setup phase.
values.yaml
values.yaml
helm -n NAMESPACE upgrade -i -f gentics-portal/values.yaml \
gentics-portal gentics/gentics-portal-php