Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

4 watching

Forks

Euro-Office Docs for Kubernetes

This repository contains a set of files to deploy Euro-Office Docs into a Kubernetes cluster or OpenShift cluster.

Contents

Requirements

  • Kubernetes version no lower than 1.19+ or OpenShift version no lower than 3.11+
  • A minimum of two worker nodes is required for the Kubernetes cluster
  • Resources for the cluster hosts: 4 CPU \ 8 GB RAM min per node
  • Kubectl is installed on the cluster management host
  • Helm v3.15+ is installed on the cluster management host

If Docs pods stay Pending with Insufficient memory, see Troubleshooting.

Introduction

  • You must have a Kubernetes or OpenShift cluster installed. Please, checkout the reference to set up Kubernetes. Please, checkout the reference to setup OpenShift.
  • Although installation is possible using the Kubernetes cluster version 1.19+, we recommend using at least one of three latest minor release versions.
  • You should also have a local configured copy of kubectl. See this guide how to install and configure kubectl.
  • You should install Helm v3.15+. Please follow the instruction here to install it.
  • If you use OpenShift, you can use both oc and kubectl to manage deploy.
  • If the installation of components external to ‘Docs’ is performed from Helm Chart in an OpenShift cluster, then it is recommended to install them from a user who has the cluster-admin role, in order to avoid possible problems with access rights. See this guide to add the necessary roles to the user.
  • To install Docs into an OpenShift cluster, it may be necessary to grant a specific SecurityContextConstraints policy. This policy provides permission to run containers using a user with ID = 101 and ID = 1001. For more information, see OPENSHIFT.md file.

Deploy prerequisites

1. Add Helm repositories

$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
$ helm repo add nfs-server-provisioner https://kubernetes-sigs.github.io/nfs-ganesha-server-and-external-provisioner
$ helm repo add euro-office https://download.euro-office.com/charts/stable
$ helm repo update

2. Install Persistent Storage

If you want to use Amazon S3 as a cache, please skip this step.

Install NFS Server Provisioner

Note: When installing NFS Server Provisioner, Storage Classes - NFS is created. When installing into an OpenShift cluster, the user must have a role that allows you to create Storage Classes in the cluster. Read more here.

$ helm install nfs-server nfs-server-provisioner/nfs-server-provisioner \
  --set persistence.enabled=true \
  --set persistence.storageClass=PERSISTENT_STORAGE_CLASS \
  --set persistence.size=PERSISTENT_SIZE
  • PERSISTENT_STORAGE_CLASS is a Persistent Storage Class available in your Kubernetes cluster.

    Persistent Storage Classes for different providers:

    • Amazon EKS: gp2
    • Digital Ocean: do-block-storage
    • IBM Cloud: Default ibmc-file-bronze. More storage classes
    • Yandex Cloud: yc-network-hdd or yc-network-ssd. More details
    • minikube: standard
  • PERSISTENT_SIZE is the total size of all Persistent Storages for the nfs Persistent Storage Class. You can express the size as a plain integer with one of these suffixes: T, G, M, Ti, Gi, Mi. For example: 9Gi.

See more details about installing NFS Server Provisioner via Helm here.

Configure a Persistent Volume Claim

Note: The default nfs Persistent Volume Claim is 8Gi. You can change it in the values.yaml file in the persistence.storageClass and persistence.size section. It should be less than PERSISTENT_SIZE at least by about 5%. It's recommended to use 8Gi or more for persistent storage for every 100 active users of Euro-Office Docs.

The PersistentVolume type to be used for PVC placement must support Access Mode ReadWriteMany. Also, PersistentVolume must have as the owner the user from whom the Euro-Office Docs will be started. By default it is ds (101:101).

Note: If you want to enable WOPI, please set the parameter wopi.enabled=true. In this case Persistent Storage must be connected to the cluster nodes with the disabled caching attributes for the mounted directory for the clients. For NFS Server Provisioner it can be achieved by adding noac option to the parameter storageClass.mountOptions. Please find more information here.

3. Deploy RabbitMQ

To install RabbitMQ to your cluster, run the following command:

$ helm install rabbitmq --version 16.0.14 bitnami/rabbitmq \
  --set persistence.storageClass=PERSISTENT_STORAGE_CLASS \
  --set resourcesPreset=none \
  --set image.repository=bitnamilegacy/rabbitmq \
  --set image.tag=4.1.3-debian-12-r1 \
  --set global.security.allowInsecureImages=true \
  --set metrics.enabled=false

Note: Set the metrics.enabled=true to enable exposing RabbitMQ metrics to be gathered by Prometheus.

See more details about installing RabbitMQ via Helm here.

3.1 Alternative: RabbitMQ Cluster Operator

Instead of the Helm chart, you can use the official RabbitMQ Cluster Operator.

cert-manager is required. Current operator releases ship admission webhooks whose certificates are issued by cert-manager. Installing the operator first produces:

no matches for kind "Certificate" in version "cert-manager.io/v1"
ensure CRDs are installed first

Install cert-manager first, wait for all three of its deployments to be ready, then install the operator:

$ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/<CERT_MANAGER_VERSION>/cert-manager.yaml
$ kubectl -n cert-manager rollout status deploy/cert-manager --timeout=180s
$ kubectl -n cert-manager rollout status deploy/cert-manager-webhook --timeout=180s
$ kubectl -n cert-manager rollout status deploy/cert-manager-cainjector --timeout=180s
$ kubectl apply -f https://github.com/rabbitmq/cluster-operator/releases/download/<OPERATOR_VERSION>/cluster-operator.yml

If the operator pod stays in ContainerCreating after this, it was created before the certificates existed and is waiting on a secret volume. Delete the pod so the Deployment recreates it.

Points worth knowing:

  • spec.terminationGracePeriodSeconds defaults to 7 days. It is an upper bound: the operator's preStop hook waits until quorum queues stay available without this node, then drains it. Lowering the value bounds drain time but can interrupt that check during rolling restarts. Keep the default when using quorum queues.
  • Use an odd replica count. Scaling down is not supported by the operator.
  • Replicas do not make Docs queues highly available. Docs declares classic queues, which live on one node. To replicate them, add to local.json (via extraConf):
  "rabbitmq": {
    "queueconverttask":     {"options": {"arguments": {"x-queue-type": "quorum"}}},
    "queueconvertresponse": {"options": {"arguments": {"x-queue-type": "quorum"}}},
    "queueconvertdead":     {"options": {"arguments": {"x-queue-type": "quorum"}}},
    "queuedelayed":         {"options": {"arguments": {"x-queue-type": "quorum"}}}
  }

An existing queue's type can't be changed. Delete the existing queues (rabbitmqctl delete_queue <name>) and restart docservice and converter to recreate them; messages still in those queues are lost. Quorum queues don't support maxPriority, so conversion-task priorities are dropped. Verify with rabbitmqctl list_queues name type members.

  • Credentials are generated into a secret named CLUSTER-default-user, with keys username and password — not the key names the Docs chart defaults to.

4. Deploy Redis

To install Redis to your cluster, run the following command:

$ helm install redis --version 22.0.7 bitnami/redis \
  --set architecture=standalone \
  --set master.persistence.storageClass=PERSISTENT_STORAGE_CLASS \
  --set master.resourcesPreset=none \
  --set global.security.allowInsecureImages=true \
  --set image.repository=bitnamilegacy/redis \
  --set image.tag=8.2.1-debian-12-r0 \
  --set metrics.enabled=false

Note: Set the metrics.enabled=true to enable exposing Redis metrics to be gathered by Prometheus. Also add the following parameters: metrics.image.repository=bitnamilegacy/redis-exporter and metrics.image.tag=1.76.0-debian-12-r0.

See more details about installing Redis via Helm here.

5. Deploy Database

As a database server, you can use PostgreSQL, MySQL or MariaDB

If PostgreSQL is selected as the database server, then follow these steps

To install PostgreSQL to your cluster, run the following command:

$ helm install postgresql --version 16.7.27 bitnami/postgresql \
  --set auth.database=postgres \
  --set primary.persistence.storageClass=PERSISTENT_STORAGE_CLASS \
  --set primary.persistence.size=PERSISTENT_SIZE \
  --set primary.resourcesPreset=none \
  --set image.repository=bitnamilegacy/postgresql \
  --set global.security.allowInsecureImages=true \
  --set image.tag=17.6.0-debian-12-r2 \
  --set metrics.enabled=false

Note: Set the metrics.enabled=true to enable exposing Database metrics to be gathered by Prometheus. Also add the following parameters: metrics.image.repository=bitnamilegacy/postgres-exporter and metrics.image.tag=0.17.1-debian-12-r16.

See more details about installing PostgreSQL via Helm here.

If MySQL is selected as the database server, then follow these steps

To install MySQL to your cluster, run the following command:

$ helm install mysql --version 14.0.3 bitnami/mysql \
  --set auth.database=euro-office \
  --set auth.username=euro-office \
  --set primary.persistence.storageClass=PERSISTENT_STORAGE_CLASS \
  --set primary.persistence.size=PERSISTENT_SIZE \
  --set primary.resourcesPreset=none \
  --set image.repository=bitnamilegacy/mysql \
  --set global.security.allowInsecureImages=true \
  --set image.tag=9.4.0-debian-12-r1 \
  --set metrics.enabled=false

See more details about installing MySQL via Helm here.

Here PERSISTENT_SIZE is a size for the Database persistent volume. For example: 8Gi.

It's recommended to use at least 2Gi of persistent storage for every 100 active users of Euro-Office Docs.

Note: Set the metrics.enabled=true to enable exposing Database metrics to be gathered by Prometheus. Also add the following parameters: metrics.image.repository=bitnamilegacy/mysqld-exporter and metrics.image.tag=0.17.2-debian-12-r16.

Using external or managed services (optional)

Steps 3, 4 and 5 install RabbitMQ, Redis and a database into your cluster. You can instead point Docs at services you already run — a managed database, a managed Redis-compatible cache, an existing message broker. The chart has no subchart dependencies for these, so there is nothing to disable: you only set the connections.* values.

Create your own secrets

The chart reads each password either from connections.*Password (the chart then creates the secret) or from an existing secret. *ExistingSecret names the secret; *SecretKeyName names the key inside it (defaults: postgres-password, redis-password, rabbitmq-password). Both must match what you created:

$ kubectl create secret generic ds-db    -n <DOCS_NAMESPACE> --from-literal=password='DB_PASSWORD'
$ kubectl create secret generic ds-redis -n <DOCS_NAMESPACE> --from-literal=password='REDIS_PASSWORD'
$ kubectl create secret generic ds-amqp  -n <DOCS_NAMESPACE> --from-literal=password='AMQP_PASSWORD'
connections:
  dbType: "postgres"           # postgres (default), mariadb, mysql, oracle, mssql or dameng
  dbHost: "10.0.0.10"          # host or IP reachable from the pods
  dbPort: "5432"
  dbName: "DB_NAME"            # the database must already exist
  dbUser: "DB_USER"
  dbExistingSecret: "ds-db"
  dbSecretKeyName: "password"

  redisHost: "10.0.0.11"
  redisPort: "6379"
  redisUser: "REDIS_USER"
  redisExistingSecret: "ds-redis"
  redisSecretKeyName: "password"

  amqpProto: "amqp"            # "amqps" for brokers that require TLS
  amqpHost: "rabbitmq.other-namespace.svc.cluster.local"
  amqpPort: "5672"
  amqpVhost: "/"
  amqpUser: "AMQP_USER"
  amqpExistingSecret: "ds-amqp"
  amqpSecretKeyName: "password"

A mismatch between *SecretKeyName and the real key produces a pod that fails to start with a missing-key error, which is easy to misread as a wrong password. Check with:

$ kubectl get secret ds-db -o jsonpath='{.data}' | jq 'keys'

Services in another namespace

If a dependency runs in a different namespace, use the fully qualified service name — SERVICE.NAMESPACE.svc.cluster.local. Secrets are not shared across namespaces, so copy the value into a secret in the Docs namespace:

$ kubectl create secret generic ds-amqp -n <DOCS_NAMESPACE> \
  --from-literal=password="$(kubectl get secret SOURCE_SECRET -n OTHER_NS \
      -o jsonpath='{.data.password}' | base64 -d)"

Managed Redis and TLS

Many managed Redis-compatible services (including Valkey-based ones) require TLS. The chart exposes no TLS switch.

Verify connectivity before installing

Every dependency must be reachable from inside a pod, which is not the same as being reachable from your workstation:

$ kubectl run netcheck --rm -it --image=busybox:1.38 --restart=Never -- \
  sh -c "nc -zv -w 3 DB_HOST 5432; nc -zv -w 3 REDIS_HOST 6379; nc -zv -w 3 AMQP_HOST 5672"

6. Deploy StatsD exporter

This step is optional. You can skip step #6 entirely if you don't want to run StatsD exporter

6.1 Add Helm repositories

$ helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
$ helm repo add kube-state-metrics https://kubernetes.github.io/kube-state-metrics
$ helm repo update

6.2 Installing Prometheus

To install Prometheus to your cluster, run the following command:

$ helm install prometheus -f https://raw.githubusercontent.com/Euro-Office/Kubernetes-Docs/master/sources/extraScrapeConfigs.yaml prometheus-community/prometheus \
  --set server.global.scrape_interval=1m

To change the scrape interval, specify the server.global.scrape_interval parameter.

See more details about installing Prometheus via Helm here.

6.3 Installing StatsD exporter

To install StatsD exporter to your cluster, run the following command:

$ helm install statsd-exporter prometheus-community/prometheus-statsd-exporter \
  --set statsd.udpPort=8125 \
  --set statsd.tcpPort=8126 \
  --set statsd.eventFlushInterval=30000ms

See more details about installing Prometheus StatsD exporter via Helm here.

To allow the StatsD metrics in Euro-Office Docs, follow step 5.2

7. Make changes to Node-config configuration files

This step is optional. You can skip step #7 entirely if you don't need to make changes to the configuration files

7.1 Create a ConfigMap containing a json file

In order to create a ConfigMap from a file that contains the local.json structure, you need to run the following command:

$ kubectl create configmap local-config \
  --from-file=./local.json

Note: Any name can be used instead of local-config.

7.2 Specify parameters when installing Euro-Office Docs

When installing Euro-Office Docs, specify the extraConf.configMap=local-config and extraConf.filename=local.json parameters

Note: If you need to add a configuration file after the Euro-Office Docs is already installed, you need to execute step 7.1 and then run the helm upgrade documentserver euro-office/docs --set extraConf.configMap=local-config --set extraConf.filename=local.json --no-hooks command or helm upgrade documentserver -f ./values.yaml euro-office/docs --no-hooks if the parameters are specified in the values.yaml file.

8. Add custom Fonts

This step is optional. You can skip step #8 entirely if you don't need to add your fonts

In order to add fonts to Euro-Office Docs, you need to follow a number of steps. See more details here.

9. Add Plugins

This step is optional. You can skip step #9 entirely if you don't need to add plugins

In order to add plugins to Euro-Office Docs, you need to follow a number of steps. See more details here.

You can also configure the list of default plugins displayed or remove them completely.

10. Add custom dictionaries

This step is optional. You can skip step #10 entirely if you don't need to add your dictionaries

In order to add your custom dictionaries to Euro-Office Docs, you need to follow a number of steps. See more details here.

11. Change interface themes

This step is optional. You can skip step #11 entirely if you don't need to change the interface themes

11.1 Create a ConfigMap containing a json file

To create a ConfigMap with a json file that contains the interface themes, you need to run the following command:

$ kubectl create configmap custom-themes \
  --from-file=./custom-themes.json

Note: Instead of custom-themes and custom-themes.json you can use any other names.

11.2 Specify parameters when installing Euro-Office Docs

When installing Euro-Office Docs, specify the extraThemes.configMap=custom-themes and extraThemes.filename=custom-themes.json parameters.

Note: If you need to add interface themes after the Euro-Office Docs is already installed, you need to execute step 11.1 and then run the helm upgrade documentserver euro-office/docs --set extraThemes.configMap=custom-themes --set extraThemes.filename=custom-themes.json --no-hooks command or helm upgrade documentserver -f ./values.yaml euro-office/docs --no-hooks if the parameters are specified in the values.yaml file.

12. Connecting an S3 bucket as a cache to Euro-Office Helm Docs

Using S3 as the cache lets you skip NFS Server Provisioner for document storage.

Step 1 — provide the storage configuration. Create a ConfigMap containing a local.json with a storage block:

{
  "storage": {
    "name": "storage-s3",
    "region": "REGION",
    "endpoint": "https://S3_ENDPOINT/",
    "bucketName": "BUCKET_NAME",
    "accessKeyId": "ACCESS_KEY",
    "secretAccessKey": "SECRET_KEY"
  }
}

Then set extraConf.configMap and extraConf.filename accordingly. All other storage options and their defaults are in default.json (/etc/euro-office/documentserver/default.json in the image).

Step 2 — set persistence.storageS3=true. This suppresses creation of the ds-files PVC.

Step 3 — decide what to do about the remaining volumes. storageS3=true alone does not make the deployment volume-free. Two PVCs may still be created:

PVC Created when Access mode needed
ds-runtime-config persistence.runtimeConfig.enabled=true (default) ReadWriteMany — mounted by both Docservice and Converter
ds-buffer any of customFonts.build, customDictionaries.build, customPlugins.build is true ReadWriteMany

If your storage class only offers ReadWriteOnce — which is the case for most cloud block storage — a multi-replica deployment cannot share ds-runtime-config, and pods will sit Pending or fail to attach the volume.

For a deployment with no shared filesystem at all, use S3 together with:

persistence:
  storageS3: true
  runtimeConfig:
    enabled: false

and keep customFonts.build, customDictionaries.build and customPlugins.build at false (default), since custom builds always need a ReadWriteMany ds-buffer.

runtimeConfig.enabled=false is safe when adminpanel.enabled=false, since nothing writes runtime configuration. If you enable the Admin panel you must re-enable runtimeConfig and provide a ReadWriteMany storage class, because the Admin panel writes settings that Docservice and Converter must both read.

Step 4 — verify. Nothing touches the bucket until a document is opened, so a healthy pod list does not prove the storage configuration is correct. After opening and saving a document, confirm objects exist:

$ aws s3 ls s3://BUCKET_NAME/files/ --recursive \
  --region REGION --endpoint-url https://S3_ENDPOINT

An empty listing means the storage block is wrong even though nothing crashed.

Credentials placed in a ConfigMap are stored in plain text. For anything beyond a test deployment, use one of these instead:

  • Mount local.json from a Secret instead of using extraConf, in both Docservice and Converter:

    podSecurityContext:
      docservice:
        fsGroup: 101
      converter:
        fsGroup: 101
    docservice:
      extraVolumes:
        - name: local-json
          secret:
            secretName: docs-local-json
            defaultMode: 0440
      extraVolumeMounts:
        - name: local-json
          mountPath: /etc/euro-office/documentserver/local.json
          subPath: local.json
          readOnly: true
    converter:
      # same extraVolumes and extraVolumeMounts as docservice

    Changes to the Secret are not picked up automatically; restart Docservice and Converter after updating it.

  • Set credentials as environment variables: remove accessKeyId and secretAccessKey from local.json and set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY from a Secret via docservice.extraEnvVars and converter.extraEnvVars.

Deploy Euro-Office Docs

1. Deploy the Euro-Office Docs license

1.1. Create secret

If you have a valid Euro-Office Docs license, create a secret license from the file:

$ kubectl create secret generic [SECRET_LICENSE_NAME] --from-file=path/to/license.lic
  • Where SECRET_LICENSE_NAME is the name of a future secret with a license

Note: The source license file name should be 'license.lic' because this name would be used as a field in the created secret.

Note: If the installation is performed without creating a secret with the existing license file, an empty secret license will be automatically created. For information on how to update an existing secret with a license, see here.

1.2. Specify parameters when installing Euro-Office Docs

When installing Euro-Office Docs, specify the license.existingSecret=[SECRET_LICENSE_NAME] parameter.

$ helm install documentserver euro-office/docs --set license.existingSecret=[SECRET_LICENSE_NAME]

Note: If you need to add license after the Euro-Office Docs is already installed, you need to execute step 1.1 and then run the helm upgrade documentserver euro-office/docs --set license.existingSecret=[SECRET_LICENSE_NAME] --no-hooks command or helm upgrade documentserver -f ./values.yaml euro-office/docs --no-hooks if the parameters are specified in the values.yaml file.

2. Deploy Euro-Office Docs

To deploy Euro-Office Docs with the release name documentserver:

$ helm install documentserver euro-office/docs

The command deploys Euro-Office Docs on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Note: The database tables are created by the pre-install Job from the SQL schema bundled in the utils image, see the notes below.

3. Uninstall Euro-Office Docs

To uninstall/delete the documentserver deployment:

$ helm delete documentserver

Executing the helm delete command launches hooks, which perform some preparatory actions before completely deleting the Euro-Office Docs, which include stopping the server and cleaning up the used PVC. Dropping the database tables is performed only if delete.job.enabled=true. The default hook execution time is 300s. The execution time can be changed using --timeout [time], for example:

$ helm delete documentserver --timeout 25m

Note: The pre-delete Job is disabled by default. See the notes below.

If you want to delete the Euro-Office Docs without any preparatory actions, run the following command:

$ helm delete documentserver --no-hooks

The helm delete command removes all the Kubernetes components associated with the chart and deletes the release.

4. Parameters

Parameter Description Default
connections.dbType The database type. Possible values are postgres, mariadb, mysql, oracle, mssql or dameng postgres
connections.dbHost The IP address or the name of the Database host postgresql
connections.dbUser Database user postgres
connections.dbPort Database server port number 5432
connections.dbName Name of the Database database the application will be connected with postgres
connections.dbPassword Database user password. If set to, it takes priority over the connections.dbExistingSecret ""
connections.dbSecretKeyName The name of the key that contains the Database user password postgres-password
connections.dbExistingSecret Name of existing secret to use for Database passwords. Must contain the key specified in connections.dbSecretKeyName postgresql
connections.redisConnectorName Defines which connector to use to connect to Redis. If you need to connect to Redis Sentinel, set the value ioredis redis
connections.redistHost The IP address or the name of the Redis host. Not used if the values are set in connections.redisClusterNodes and connections.redisSentinelNodes redis-master
connections.redisPort The Redis server port number. Not used if the values are set in connections.redisClusterNodes and connections.redisSentinelNodes 6379
connections.redisUser The Redis user name. The value in this parameter overrides the value set in the options object in local.json if you add custom configuration file default
connections.redisDBNum Number of the redis logical database to be selected. The value in this parameter overrides the value set in the options object in local.json if you add custom configuration file 0
connections.redisClusterNodes List of nodes in the Redis cluster. There is no need to specify every node in the cluster, 3 should be enough. You can specify multiple values. It must be specified in the host:port format []
connections.redisPassword The password set for the Redis account. If set to, it takes priority over the connections.redisExistingSecret. The value in this parameter overrides the value set in the options object in local.json if you add custom configuration file ""
connections.redisSecretKeyName The name of the key that contains the Redis user password redis-password
connections.redisExistingSecret Name of existing secret to use for Redis passwords. Must contain the key specified in connections.redisSecretKeyName. The password from this secret overrides password set in the options object in local.json redis
connections.redisNoPass Defines whether to use a Redis auth without a password. If the connection to Redis server does not require a password, set the value to true false
connections.redisSentinelNodes List of Redis Sentinel Nodes. There is no need to specify every node, 3 should be enough. You can specify multiple values. It must be specified in the host:port format. Used if connections.redisConnectorName is set to ioredis []
connections.redisSentinelGroupName Name of a group of Redis instances composed of a master and one or more slaves. Used if connections.redisConnectorName is set to ioredis mymaster
connections.redisSentinelExistingSecret Name of existing secret to use for Redis Sentinel password. Must contain the key specified in connections.redisSentinelSecretKeyName. The password from this secret overrides the value for the password set in the iooptions object in local.json ""
connections.redisSentinelSecretKeyName The name of the key that contains the Redis Sentinel user password. If you set a password in redisSentinelPassword, a secret will be automatically created, the key name of which will be the value set here sentinel-password
connections.redisSentinelPassword The password set for the Redis Sentinel account. If set to, it takes priority over the connections.redisSentinelExistingSecret. The value in this parameter overrides the value set in the iooptions object in local.json ""
connections.redisSentinelNoPass Defines whether to use a Redis Sentinel auth without a password. If the connection to Redis Sentinel does not require a password, set the value to true true
connections.amqpType Defines the AMQP server type. Possible values are rabbitmq or activemq rabbitmq
connections.amqpHost The IP address or the name of the AMQP server rabbitmq
connections.amqpPort The port for the connection to AMQP server 5672
connections.amqpVhost The virtual host for the connection to AMQP server /
connections.amqpUser The username for the AMQP server account user
connections.amqpUserExistingSecret The name of existing secret to use for the AMQP server username. If set to, connections.amqpUser is ignored and AMQP_USER is injected from this secret. Do not also set AMQP_USER via extraEnvVars (duplicate env names; server-side apply in Argo CD can reject duplicate list keys) ""
connections.amqpUserSecretKeyName The name of the key that contains the AMQP server username in connections.amqpUserExistingSecret rabbitmq-user
connections.amqpProto The protocol for the connection to AMQP server amqp
connections.amqpPassword AMQP server user password. If set to, it takes priority over the connections.amqpExistingSecret ""
connections.amqpSecretKeyName The name of the key that contains the AMQP server user password rabbitmq-password
connections.amqpExistingSecret The name of existing secret to use for AMQP server passwords. Must contain the key specified in connections.amqpSecretKeyName rabbitmq
persistence.existingClaim Name of an existing PVC to use. If not specified, a PVC named "ds-files" will be created ""
persistence.annotations Defines annotations that will be additionally added to "ds-files" PVC. If set to, it takes priority over the commonAnnotations {}
persistence.storageClass PVC Storage Class for Euro-Office Docs data and runtime config volumes nfs
persistence.size PVC Storage Request for Euro-Office Docs volume 8Gi
persistence.storageS3 Defines whether S3 will be used as cache storage. Set to true if you will use S3 as cache storage false
persistence.runtimeConfig.enabled Defines whether to use PVC and whether to mount it in containers true
persistence.runtimeConfig.existingClaim The name of the existing PVC used to store the runtime config. If not specified, a PVC named "ds-runtime-config" will be created ""
persistence.runtimeConfig.annotations Defines annotations that will be additionally added to "ds-runtime-config" PVC. If set to, it takes priority over the commonAnnotations {}
persistence.runtimeConfig.size PVC Storage Request for runtime config volume 1Gi
persistence.customResources.enabled Defines whether to use PVC and whether to mount it in a container in the Job custom-resources. The use of this PVC can be disabled if you only use customPlugins.marketplace.enabled=false or customPlugins.defaultPlugins.list or customPlugins.defaultPlugins.enabled=false true
persistence.customResources.existingClaim The name of the existing PVC used to store the custom resources. It is used if customFonts.build or customDictionaries.build or customPlugins.build is set to true docs-custom-resources
persistence.buffer.existingClaim The name of the existing PVC used to share generated files. If not specified, a PVC named "ds-buffer" will be created only during installation ("helm.sh/hook": pre-install). It is created and used if customFonts.build or customDictionaries.build or customPlugins.build is set to true ""
persistence.buffer.annotations Defines annotations that will be additionally added to "ds-buffer" PVC. If set to, it takes priority over the commonAnnotations {}
persistence.buffer.size PVC Storage Request for generated files volume 5Gi
commonNameSuffix The name that will be added to the name of all created resources as a suffix ""
namespaceOverride The name of the namespace in which Euro-Office Docs will be deployed. If not set, the name will be taken from .Release.Namespace ""
commonLabels Defines labels that will be additionally added to all the deployed resources. You can also use tpl as the value for the key {}
commonMatchLabels Defines stable labels that will be used in selector.matchLabels for all the deployed resources. Please use only immutable labels in this field {}
commonAnnotations Defines annotations that will be additionally added to all the deployed resources. You can also use tpl as the value for the key. Some resources may override the values specified here with their own {}
serviceAccount.create Enable ServiceAccount creation false
serviceAccount.name Name of the ServiceAccount to be used. If not set and serviceAccount.create is true the name will be taken from .Release.Name or serviceAccount.create is false the name will be "default" ""
serviceAccount.annotations Map of annotations to add to the ServiceAccount. If set to, it takes priority over the commonAnnotations {}
serviceAccount.automountServiceAccountToken Enable auto mount of ServiceAccountToken on the serviceAccount created. Used only if serviceAccount.create is true true
license.existingSecret Name of the existing secret that contains the license. Must contain the key license.lic ""
license.existingClaim Name of the existing PVC in which the license is stored. Must contain the file license.lic ""
log.level Defines the type and severity of a logged event. Possible values are ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, MARK, OFF WARN
log.type Defines the format of a logged event. Possible values are pattern, json, basic, coloured, messagePassThrough, dummy pattern
log.pattern Defines the log pattern if log.type=pattern [%d] [%p] %c - %.10000m
wopi.enabled Defines if WOPI is enabled. If the parameter is enabled, then caching attributes for the mounted directory (PVC) should be disabled for the client false
wopi.keys.generation Defines whether to generate API keys true
wopi.keys.newKeysExistingSecret Name of existing secret containing the WOPI keys. Must contain the keys WOPI_PRIVATE_KEY, WOPI_PUBLIC_KEY, WOPI_MODULUS_KEY and WOPI_EXPONENT_KEY. If not set, new keys will be generated and a secret will be created from them ""
wopi.keys.oldKeysExistingSecret Name of existing secret containing the old WOPI keys. Must contain the keys WOPI_PRIVATE_KEY_OLD, WOPI_PUBLIC_KEY_OLD, WOPI_MODULUS_KEY_OLD and WOPI_EXPONENT_KEY_OLD. If not set, new keys will be generated and a secret will be created from them ""
metrics.enabled Specifies the enabling StatsD for Euro-Office Docs false
metrics.host Defines StatsD listening host statsd-exporter-prometheus-statsd-exporter
metrics.port Defines StatsD listening port 8125
metrics.prefix Defines StatsD metrics prefix for backend services ds.
extraConf.configMap The name of the ConfigMap containing the json file that override the default values ""
extraConf.filename The name of the json file that contains custom values. Must be the same as the key name in extraConf.ConfigMap local.json
extraThemes.configMap The name of the ConfigMap containing the json file that contains the interface themes ""
extraThemes.filename The name of the json file that contains custom interface themes. Must be the same as the key name in extraThemes.configMap custom-themes.json
podAntiAffinity.type Types of Pod antiaffinity. Allowed values: soft or hard soft
podAntiAffinity.topologyKey Node label key to match kubernetes.io/hostname
podAntiAffinity.weight Priority when selecting node. It is in the range from 1 to 100 100
nodeSelector Node labels for pods assignment. Each Euro-Office Docs services can override the values specified here with its own {}
tolerations Tolerations for pods assignment. Each Euro-Office Docs services can override the values specified here with its own []
imagePullSecrets Container image registry secret name ""
requestFilteringAgent.allowPrivateIPAddress Defines if it is allowed to connect private IP address or not. requestFilteringAgent parameters are used if JWT is disabled: jwt.enabled=false false
requestFilteringAgent.allowMetaIPAddress Defines if it is allowed to connect meta address or not false
requestFilteringAgent.allowIPAddressList Defines the list of IP addresses allowed to connect. This values are preferred than requestFilteringAgent.denyIPAddressList []
requestFilteringAgent.denyIPAddressList Defines the list of IP addresses that are denied access []
customFonts.build Enables the addition of custom Fonts. Fonts should be added to the "custom-k8s" subdirectory of the persistence.customResources PVC root false
customDictionaries.build Enables the addition of custom Dictionaries false
customDictionaries.dictionarieNames Defines a list of subdirectories with the names of additional dictionaries. The names must match the names of the directories added to the root of the persistence.customResources PVC. It is executed if the customDictionaries.build is set to true []
customPlugins.build Enables the addition of custom Plugins false
customPlugins.pluginNames Defines a list of subdirectories with the names of additional plugins. The names must match the names of the directories added to the root of the persistence.customResources PVC. It is executed if the customPlugins.build is set to true []
customPlugins.marketplace.enabled Defines whether the Plugin Manager will be added to the server and to the Plugins menu. It is executed if the customPlugins.build is set to true true
customPlugins.defaultPlugins.enabled Defines whether plugins will be installed on the server and in the Plugins menu. It is executed if the customPlugins.build is set to true true
customPlugins.defaultPlugins.list Defines which plugins from the default list will be installed on the server and in the Plugins menu. It is executed if the customPlugins.build is set to true []
customPlugins.emptyPluginsDir Defines whether a directory with plugins in containers will contain files, including service files. If set to true, an empty volume with the emptyDir type will be mapped false
customResources.versionSalt Arbitrary string included in the DS_VERSION_HASH input. Change it in Git after changing the content of the persistence.customResources PVC (see Deploying with Argo CD / GitOps). Used only if a *.build parameter is true ""
images.tag Global image tag for all Euro-Office Docs services and jobs v9.3.8
docservice.annotations Defines annotations that will be additionally added to Docservice Deployment. If set to, it takes priority over the commonAnnotations {}
docservice.podAnnotations Map of annotations to add to the Docservice deployment pods (checksum/* annotations are added automatically; a key set here takes priority) {}
docservice.replicas Docservice replicas quantity. If the docservice.autoscaling.enabled parameter is enabled, it is ignored 2
docservice.revisionHistoryLimit The number of old ReplicaSets to retain for the Docservice deployment. If not set, the Kubernetes default (10) is used; 0 is allowed null
docservice.updateStrategy.type Docservice deployment update strategy type Recreate
docservice.customPodAntiAffinity Prohibiting the scheduling of Docservice Pods relative to other Pods containing the specified labels on the same node {}
docservice.podAffinity Defines Pod affinity rules for Docservice Pods scheduling by nodes relative to other Pods {}
docservice.nodeAffinity Defines Node affinity rules for Docservice Pods scheduling by nodes {}
docservice.nodeSelector Node labels for Docservice Pods assignment. If set to, it takes priority over the nodeSelector {}
docservice.tolerations Tolerations for Docservice Pods assignment. If set to, it takes priority over the tolerations []
docservice.terminationGracePeriodSeconds The time to terminate gracefully during which the Docservice Pod will have the Terminating status 30
docservice.hostAliases Adds additional entries to the hosts file in the Docservice and Proxy containers []
docservice.initContainers Defines containers that run before docservice and proxy containers in the Docservice deployment pod. For example, a container that changes the owner of the PersistentVolume []
docservice.image.repository Docservice container image repository. This image is the same for all services ghcr.io/euro-office/cluster-docs
docservice.image.tag Docservice container image tag. If set to, it takes priority over the images.tag ""
docservice.image.pullPolicy Docservice container image pull policy IfNotPresent
docservice.containerSecurityContext.enabled Enable security context for the Docservice container false
docservice.lifecycleHooks Defines the Docservice container lifecycle hooks. It is used to trigger events to run at certain points in a container's lifecycle {}
docservice.resources.requests The requested resources for the Docservice container {}
docservice.resources.limits The resources limits for the Docservice container {}
docservice.extraEnvVars An array with extra env variables for the Docservice container []
docservice.extraVolumes An array with extra volumes for the Docservice Pod []
docservice.extraVolumeMounts An array with extra volume mounts for the Docservice container []
docservice.readinessProbe.enabled Enable readinessProbe for Docservice container true
docservice.livenessProbe.enabled Enable livenessProbe for Docservice container true
docservice.startupProbe.enabled Enable startupProbe for Docservice container true
docservice.autoscaling.enabled Enable Docservice deployment autoscaling false
docservice.autoscaling.annotations Defines annotations that will be additionally added to Docservice deployment HPA. If set to, it takes priority over the commonAnnotations {}
docservice.autoscaling.minReplicas Docservice deployment autoscaling minimum number of replicas 2
docservice.autoscaling.maxReplicas Docservice deployment autoscaling maximum number of replicas 4
docservice.autoscaling.targetCPU.enabled Enable autoscaling of Docservice deployment by CPU usage percentage true
docservice.autoscaling.targetCPU.utilizationPercentage Docservice deployment autoscaling target CPU percentage 70
docservice.autoscaling.targetMemory.enabled Enable autoscaling of Docservice deployment by memory usage percentage false
docservice.autoscaling.targetMemory.utilizationPercentage Docservice deployment autoscaling target memory percentage 70
docservice.autoscaling.customMetricsType Custom, additional or external autoscaling metrics for the Docservice deployment []
docservice.autoscaling.behavior Configuring Docservice deployment scaling behavior policies for the scaleDown and scaleUp fields {}
proxy.accessLog Defines the nginx config access_log format directive off
proxy.logFormat Defines the format of log entries using text and various variables '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'
proxy.gzipProxied Defines the nginx config gzip_proxied directive off
proxy.clientMaxBodySize Defines the nginx config client_max_body_size directive 100m
proxy.workerConnections Defines the nginx config worker_connections directive 4096
proxy.secureLinkSecret Defines secret for the nginx config directive secure_link_md5. If the value is empty, a random one will be generated, which will be used later in the upgrade. If a value is set, it will be used ""
proxy.secureLinkExistingSecret Name of existing secret to use for secure_link. If set to, it takes priority over the proxy.secureLinkSecret ""
proxy.infoAllowedIP Defines ip addresses for accessing the info page []
proxy.infoAllowedUser Defines user name for accessing the info page. If not set to, Nginx Basic Authentication will not be applied to access the info page. For more details, see here ""
proxy.infoAllowedPassword Defines user password for accessing the info page. Used if proxy.infoAllowedUser is set. If the value is empty, a random one will be generated, which will be used later in the upgrade. If a value is set, it will be used ""
proxy.infoAllowedSecretKeyName The name of the key that contains the info auth user password. Used if proxy.infoAllowedUser is set info-auth-password
proxy.infoAllowedExistingSecret Name of existing secret to use for info auth password. Used if proxy.infoAllowedUser is set. Must contain the key specified in proxy.infoAllowedSecretKeyName. If set to, it takes priority over the proxy.infoAllowedPassword ""
proxy.welcomePage.enabled Defines whether the welcome page will be displayed true
proxy.image.repository Docservice Proxy container image repository. This image is the same for all services ghcr.io/euro-office/cluster-docs
proxy.image.tag Docservice Proxy container image tag. If set to, it takes priority over the images.tag ""
proxy.image.pullPolicy Docservice Proxy container image pull policy IfNotPresent
proxy.containerSecurityContext.enabled Enable security context for the Proxy container false
proxy.lifecycleHooks Defines the Proxy container lifecycle hooks. It is used to trigger events to run at certain points in a container's lifecycle {}
proxy.resources.requests The requested resources for the Proxy container {}
proxy.resources.limits The resources limits for the Proxy container {}
proxy.extraEnvVars An array with extra env variables for the Proxy container []
proxy.extraVolumeMounts An array with extra volume mounts for the Proxy container []
proxy.readinessProbe.enabled Enable readinessProbe for Proxy container true
proxy.livenessProbe.enabled Enable livenessProbe for Proxy container true
proxy.startupProbe.enabled Enable startupProbe for Proxy container true
converter.annotations Defines annotations that will be additionally added to Converter Deployment. If set to, it takes priority over the commonAnnotations {}
converter.podAnnotations Map of annotations to add to the Converter deployment pods (checksum/* annotations are added automatically; a key set here takes priority) {}
converter.replicas Converter replicas quantity. If the converter.autoscaling.enabled parameter is enabled, it is ignored 2
converter.revisionHistoryLimit The number of old ReplicaSets to retain for the Converter deployment. If not set, the Kubernetes default (10) is used; 0 is allowed null
converter.updateStrategy.type Converter deployment update strategy type Recreate
converter.customPodAntiAffinity Prohibiting the scheduling of Converter Pods relative to other Pods containing the specified labels on the same node {}
converter.podAffinity Defines Pod affinity rules for Converter Pods scheduling by nodes relative to other Pods {}
converter.nodeAffinity Defines Node affinity rules for Converter Pods scheduling by nodes {}
converter.nodeSelector Node labels for Converter Pods assignment. If set to, it takes priority over the nodeSelector {}
converter.tolerations Tolerations for Converter Pods assignment. If set to, it takes priority over the tolerations []
converter.terminationGracePeriodSeconds The time to terminate gracefully during which the Converter Pod will have the Terminating status 30
converter.hostAliases Adds additional entries to the hosts file in the Converter container []
converter.initContainers Defines containers that run before Converter container in the Converter deployment pod. For example, a container that changes the owner of the PersistentVolume []
converter.image.repository Converter container image repository. This image is the same for all services ghcr.io/euro-office/cluster-docs
converter.image.tag Converter container image tag. If set to, it takes priority over the images.tag ""
converter.image.pullPolicy Converter container image pull policy IfNotPresent
converter.containerSecurityContext.enabled Enable security context for the Converter container false
converter.lifecycleHooks Defines the Converter container lifecycle hooks. It is used to trigger events to run at certain points in a container's lifecycle {}
converter.resources.requests The requested resources for the Converter container {}
converter.resources.limits The resources limits for the Converter container {}
converter.extraEnvVars An array with extra env variables for the Converter container []
converter.extraVolumes An array with extra volumes for the Converter Pod []
converter.extraVolumeMounts An array with extra volume mounts for the Converter container []
converter.autoscaling.enabled Enable Converter deployment autoscaling false
converter.autoscaling.annotations Defines annotations that will be additionally added to Converter deployment HPA. If set to, it takes priority over the commonAnnotations {}
converter.autoscaling.minReplicas Converter deployment autoscaling minimum number of replicas 2
converter.autoscaling.maxReplicas Converter deployment autoscaling maximum number of replicas 16
converter.autoscaling.targetCPU.enabled Enable autoscaling of converter deployment by CPU usage percentage true
converter.autoscaling.targetCPU.utilizationPercentage Converter deployment autoscaling target CPU percentage 70
converter.autoscaling.targetMemory.enabled Enable autoscaling of Converter deployment by memory usage percentage false
converter.autoscaling.targetMemory.utilizationPercentage Converter deployment autoscaling target memory percentage 70
converter.autoscaling.customMetricsType Custom, additional or external autoscaling metrics for the Converter deployment []
converter.autoscaling.behavior Configuring Converter deployment scaling behavior policies for the scaleDown and scaleUp fields {}
adminpanel.enabled Enables Admin panel installation false
adminpanel.annotations Defines annotations that will be additionally added to Admin panel Deployment. If set to, it takes priority over the commonAnnotations {}
adminpanel.podAnnotations Map of annotations to add to the Admin panel deployment pods (checksum/* annotations are added automatically; a key set here takes priority) {}
adminpanel.revisionHistoryLimit The number of old ControllerRevisions to retain for the Admin panel StatefulSet. If not set, the Kubernetes default (10) is used; 0 is allowed null
adminpanel.updateStrategy.type Admin panel StatefulSet update strategy type RollingUpdate
adminpanel.customPodAntiAffinity Prohibiting the scheduling of Admin panel Pods relative to other Pods containing the specified labels on the same node {}
adminpanel.podAffinity Defines Pod affinity rules for Admin panel Pods scheduling by nodes relative to other Pods {}
adminpanel.nodeAffinity Defines Node affinity rules for Admin panel Pods scheduling by nodes {}
adminpanel.nodeSelector Node labels for Admin panel Pods assignment. If set to, it takes priority over the nodeSelector {}
adminpanel.tolerations Tolerations for Admin panel Pods assignment. If set to, it takes priority over the tolerations []
adminpanel.terminationGracePeriodSeconds The time to terminate gracefully during which the Admin panel Pod will have the Terminating status 30
adminpanel.hostAliases Adds additional entries to the hosts file in the Admin panel container []
adminpanel.initContainers Defines containers that run before Admin panel container in the Admin panel deployment pod. For example, a container that changes the owner of the PersistentVolume []
adminpanel.image.repository Admin panel container image repository. This image is the same for all services ghcr.io/euro-office/cluster-docs
adminpanel.image.tag Admin panel container image tag. If set to, it takes priority over the images.tag ""
adminpanel.image.pullPolicy Admin panel container image pull policy IfNotPresent
adminpanel.containerSecurityContext.enabled Enable security context for the Admin panel container false
adminpanel.lifecycleHooks Defines the Admin panel container lifecycle hooks. It is used to trigger events to run at certain points in a container's lifecycle {}
adminpanel.resources.requests The requested resources for the Admin panel container {}
adminpanel.resources.limits The resources limits for the Admin panel container {}
adminpanel.extraEnvVars An array with extra env variables for the Admin panel container []
adminpanel.extraVolumes An array with extra volumes for the Admin panel Pod []
adminpanel.extraVolumeMounts An array with extra volume mounts for the Admin panel container []
example.enabled Enables the installation of Example false
example.annotations Defines annotations that will be additionally added to Example StatefulSet. If set to, it takes priority over the commonAnnotations {}
example.podAnnotations Map of annotations to add to the example pod (checksum/* annotations are added automatically; a key set here takes priority) {}
example.revisionHistoryLimit The number of old ControllerRevisions to retain for the Example StatefulSet. If not set, the Kubernetes default (10) is used; 0 is allowed null
example.updateStrategy.type Example StatefulSet update strategy type RollingUpdate
example.customPodAntiAffinity Prohibiting the scheduling of Example Pod relative to other Pods containing the specified labels on the same node {}
example.podAffinity Defines Pod affinity rules for Example Pod scheduling by nodes relative to other Pods {}
example.nodeAffinity Defines Node affinity rules for Example Pod scheduling by nodes {}
example.nodeSelector Node labels for Example Pods assignment. If set to, it takes priority over the nodeSelector {}
example.tolerations Tolerations for Example Pods assignment. If set to, it takes priority over the tolerations []
example.terminationGracePeriodSeconds The time to terminate gracefully during which the Example Pod will have the Terminating status 30
example.hostAliases Adds additional entries to the hosts file in the Example container []
example.initContainers Defines containers that run before Example container in the Pod []
example.image.repository Example container image name ghcr.io/euro-office/cluster-example
example.image.tag Example container image tag. If set to, it takes priority over the images.tag ""
example.image.pullPolicy Example container image pull policy IfNotPresent
example.containerSecurityContext.enabled Enable security context for the Example container false
example.dsUrl Euro-Office Docs external address. It should be changed only if it is necessary to check the operation of the conversion in Example (e.g. http://<documentserver-address>/) /
example.resources.requests The requested resources for the Example container {}
example.resources.limits The resources limits for the Example container {}
example.extraEnvVars An array with extra env variables for the Example container []
example.extraConf.configMap The name of the ConfigMap containing the json file that override the default values. See an example of creation here ""
example.extraConf.filename The name of the json file that contains custom values. Must be the same as the key name in example.extraConf.ConfigMap local.json
example.extraVolumes An array with extra volumes for the Example Pod []
example.extraVolumeMounts An array with extra volume mounts for the Example container []
jwt.enabled Specifies the enabling the JSON Web Token validation by the Euro-Office Docs. Common for inbox and outbox requests true
jwt.secret Defines the secret key to validate the JSON Web Token in the request to the Euro-Office Docs. Common for inbox and outbox requests. If the value is empty, a random one will be generated, which will be used later in the upgrade. If a value is set, it will be used ""
jwt.header Defines the http header that will be used to send the JSON Web Token. Common for inbox and outbox requests Authorization
jwt.inBody Specifies the enabling the token validation in the request body to the Euro-Office Docs false
jwt.inbox JSON Web Token validation parameters for inbox requests only. If not specified, the values of the parameters of the common jwt are used {}
jwt.outbox JSON Web Token validation parameters for outbox requests only. If not specified, the values of the parameters of the common jwt are used {}
jwt.existingSecret The name of an existing secret containing variables for jwt. If not specified, a secret named jwt will be created ""
service.existing The name of an existing service for Euro-Office Docs. If not specified, a service named documentserver will be created ""
service.annotations Map of annotations to add to the Euro-Office Docs service. If set to, it takes priority over the commonAnnotations {}
service.type Euro-Office Docs service type ClusterIP
service.port Euro-Office Docs service port 8888
service.sessionAffinity Session Affinity for Euro-Office Docs service. If not set, None will be set as the default value ""
service.sessionAffinityConfig Configuration for Euro-Office Docs service Session Affinity. Used if the service.sessionAffinity is set {}
ingress.enabled Enable the creation of an ingress for the Euro-Office Docs false
ingress.annotations Map of annotations to add to the Ingress. If set to, it takes priority over the commonAnnotations nginx.ingress.kubernetes.io/proxy-body-size: 100m
ingress.ingressClassName Used to reference the IngressClass that should be used to implement this Ingress nginx
ingress.controllerName Used to distinguish between controllers with the same IngressClassName but from different vendors ingress-nginx
ingress.host Ingress hostname for the Euro-Office Docs ingress ""
ingress.tenants Ingress hostnames if you need to use more than one name. For example, for multitenancy. If set to, it takes priority over the ingress.host. If ingress.ssl.enabled is set to true, it is assumed that the certificate for all specified domains is kept secret by ingress.ssl.secret []
ingress.ssl.enabled Enable ssl for the Euro-Office Docs ingress false
ingress.ssl.secret Secret name for ssl to mount into the Ingress tls
ingress.path Specifies the path where Euro-Office Docs will be available /
ingress.pathType Specifies the path type for the Euro-Office Docs ingress resource. Allowed values are Exact, Prefix or ImplementationSpecific ImplementationSpecific
ingress.letsencrypt.enabled Enabling certificate request creation in Let's Encrypt. Used if ingress.enabled is set to true false
ingress.letsencrypt.clusterIssuerName ClusterIssuer Name letsencrypt-prod
ingress.letsencrypt.email Your email address used for ACME registration ""
ingress.letsencrypt.server The address of the Let's Encrypt server to which requests for certificates will be sent https://acme-v02.api.letsencrypt.org/directory
ingress.letsencrypt.secretName Name of a secret used to store the ACME account private key letsencrypt-prod-private-key
openshift.route.enabled Enable the creation of an OpenShift Route for the Euro-Office Docs false
openshift.route.annotations Map of annotations to add to the OpenShift Route. If set to, it takes priority over the commonAnnotations {}
openshift.route.host OpenShift Route hostname for the Euro-Office Docs route ""
openshift.route.path Specifies the path where Euro-Office Docs will be available /
openshift.route.wildcardPolicy The policy for handling wildcard subdomains in the OpenShift Route. Allowed values are None, Subdomain None
grafana.enabled Enable the installation of resources required for the visualization of metrics in Grafana false
grafana.namespace The name of the namespace in which RBAC components and Grafana resources will be deployed. If not set, the name will be taken from namespaceOverride if set, or .Release.Namespace ""
grafana.ingress.enabled Enable the creation of an ingress for the Grafana. Used if you set grafana.enabled to true and want to use Nginx Ingress to access Grafana false
grafana.ingress.annotations Map of annotations to add to Grafana Ingress. If set to, it takes priority over the commonAnnotations nginx.ingress.kubernetes.io/proxy-body-size: 100m
grafana.dashboard.enabled Enable the installation of ready-made Grafana dashboards. Used if you set grafana.enabled to true false
podSecurityContext.enabled Enable security context for the pods false
podSecurityContext.converter.fsGroup Defines the Group ID to which the owner and permissions for all files in volumes are changed when mounted in the Converter Pod 101
podSecurityContext.docservice.fsGroup Defines the Group ID to which the owner and permissions for all files in volumes are changed when mounted in the Docservice Pod 101
podSecurityContext.jobs.fsGroup Defines the Group ID to which the owner and permissions for all files in volumes are changed when mounted in Pods created by Jobs 101
podSecurityContext.example.fsGroup Defines the Group ID to which the owner and permissions for all files in volumes are changed when mounted in the Example Pod 1001
podSecurityContext.tests.fsGroup Defines the Group ID to which the owner and permissions for all files in volumes are changed when mounted in the Test Pod 101
webProxy.enabled Specify whether a Web proxy is used in your network to access the Pods of k8s cluster to the Internet false
webProxy.http Web Proxy address for HTTP traffic http://proxy.example.com
webProxy.https Web Proxy address for HTTPS traffic https://proxy.example.com
webProxy.noProxy Patterns for IP addresses or k8s services name or domain names that shouldn’t use the Web Proxy localhost,127.0.0.1,docservice
upgrade.job.enabled Enable the execution of job pre-upgrade before upgrading Euro-Office Docs. Resets the tables doc_changes, task_result and doc_callbacks on a version or database change, see notes true
upgrade.job.skipWhenUnchanged Limit stopping the server and resetting the database tables in the pre-upgrade job to a change of the version or the database. It skips them if the image tags and the database connection (type, host, port, name, user) are unchanged and the running server reports the target version; a tag without a numeric version (latest, a digest) disables the check, so the job always runs true
upgrade.job.annotations Defines annotations that will be additionally added to pre-upgrade Job. If set to, it takes priority over the commonAnnotations {}
upgrade.job.podAnnotations Map of annotations to add to the pre-upgrade Pod {}
upgrade.job.customPodAntiAffinity Prohibiting the scheduling of pre-upgrade Job Pod relative to other Pods containing the specified labels on the same node {}
upgrade.job.podAffinity Defines Pod affinity rules for pre-upgrade Job Pod scheduling by nodes relative to other Pods {}
upgrade.job.nodeAffinity Defines Node affinity rules for pre-upgrade Job Pod scheduling by nodes {}
upgrade.job.nodeSelector Node labels for pre-upgrade Job Pod assignment. If set to, it takes priority over the nodeSelector {}
upgrade.job.tolerations Tolerations for pre-upgrade Job Pod assignment. If set to, it takes priority over the tolerations []
upgrade.job.initContainers Defines containers that run before pre-upgrade container in the Pod []
upgrade.job.image.repository Job by upgrade image repository ghcr.io/euro-office/cluster-utils
upgrade.job.image.tag Job by upgrade image tag. If set to, it takes priority over the images.tag ""
upgrade.job.image.pullPolicy Job by upgrade image pull policy IfNotPresent
upgrade.job.containerSecurityContext.enabled Enable security context for the pre-upgrade container false
upgrade.job.resources.requests The requested resources for the job pre-upgrade container {}
upgrade.job.resources.limits The resources limits for the job pre-upgrade container {}
upgrade.existingConfigmap.tblRemove.name The name of the existing ConfigMap that contains the sql file for deleting tables from the database. If empty, the file bundled in the utils image is used ""
upgrade.existingConfigmap.tblRemove.keyName The name of the sql file containing instructions for deleting tables from the database. Must be the same as the key name in upgrade.existingConfigmap.tblRemove.name removetbl.sql
upgrade.existingConfigmap.tblCreate.name The name of the existing ConfigMap that contains the sql file for craeting tables from the database. If empty, the file bundled in the utils image is used ""
upgrade.existingConfigmap.tblCreate.keyName The name of the sql file containing instructions for creating tables from the database. Must be the same as the key name in upgrade.existingConfigmap.tblCreate.name createdb.sql
upgrade.existingConfigmap.dsStop The name of the existing ConfigMap that contains the Euro-Office Docs upgrade script. If set, the four previous parameters are ignored. Must contain a key stop.sh ""
rollback.job.enabled Enable the execution of job pre-rollback before rolling back Euro-Office Docs. Resets the tables doc_changes, task_result and doc_callbacks on a version or database change, see notes true
rollback.job.skipWhenUnchanged Limit stopping the server and resetting the database tables in the pre-rollback job to a change of the version or the database. It skips them if the image tags and the database connection (type, host, port, name, user) are unchanged and the running server reports the target version; a tag without a numeric version (latest, a digest) disables the check, so the job always runs true
rollback.job.annotations Defines annotations that will be additionally added to pre-rollback Job. If set to, it takes priority over the commonAnnotations {}
rollback.job.podAnnotations Map of annotations to add to the pre-rollback Pod {}
rollback.job.customPodAntiAffinity Prohibiting the scheduling of pre-rollback Job Pod relative to other Pods containing the specified labels on the same node {}
rollback.job.podAffinity Defines Pod affinity rules for pre-rollback Job Pod scheduling by nodes relative to other Pods {}
rollback.job.nodeAffinity Defines Node affinity rules for pre-rollback Job Pod scheduling by nodes {}
rollback.job.nodeSelector Node labels for pre-rollback Job Pod assignment. If set to, it takes priority over the nodeSelector {}
rollback.job.tolerations Tolerations for pre-rollback Job Pod assignment. If set to, it takes priority over the tolerations []
rollback.job.initContainers Defines containers that run before pre-rollback container in the Pod []
rollback.job.image.repository Job by rollback image repository ghcr.io/euro-office/cluster-utils
rollback.job.image.tag Job by rollback image tag. If set to, it takes priority over the images.tag ""
rollback.job.image.pullPolicy Job by rollback image pull policy IfNotPresent
rollback.job.containerSecurityContext.enabled Enable security context for the pre-rollback container false
rollback.job.resources.requests The requested resources for the job rollback container {}
rollback.job.resources.limits The resources limits for the job rollback container {}
rollback.existingConfigmap.tblRemove.name The name of the existing ConfigMap that contains the sql file for deleting tables from the database. If empty, the file bundled in the utils image is used ""
rollback.existingConfigmap.tblRemove.keyName The name of the sql file containing instructions for deleting tables from the database. Must be the same as the key name in rollback.existingConfigmap.tblRemove.name removetbl.sql
rollback.existingConfigmap.tblCreate.name The name of the existing ConfigMap that contains the sql file for craeting tables from the database. If empty, the file bundled in the utils image is used ""
rollback.existingConfigmap.tblCreate.keyName The name of the sql file containing instructions for creating tables from the database. Must be the same as the key name in rollback.existingConfigmap.tblCreate.name createdb.sql
rollback.existingConfigmap.dsStop The name of the existing ConfigMap that contains the Euro-Office Docs rollback script. If set, the four previous parameters are ignored. Must contain a key stop.sh ""
delete.job.enabled Enable the execution of job pre-delete before deleting Euro-Office Docs. Drops the tables doc_changes, task_result and doc_callbacks, see notes false
delete.job.annotations Defines annotations that will be additionally added to pre-delete Job. If set to, it takes priority over the commonAnnotations {}
delete.job.podAnnotations Map of annotations to add to the pre-delete Pod {}
delete.job.customPodAntiAffinity Prohibiting the scheduling of pre-delete Job Pod relative to other Pods containing the specified labels on the same node {}
delete.job.podAffinity Defines Pod affinity rules for pre-delete Job Pod scheduling by nodes relative to other Pods {}
delete.job.nodeAffinity Defines Node affinity rules for pre-delete Job Pod scheduling by nodes {}
delete.job.nodeSelector Node labels for pre-delete Job Pod assignment. If set to, it takes priority over the nodeSelector {}
delete.job.tolerations Tolerations for pre-delete Job Pod assignment. If set to, it takes priority over the tolerations []
delete.job.initContainers Defines containers that run before pre-delete container in the Pod []
delete.job.image.repository Job by delete image repository ghcr.io/euro-office/cluster-utils
delete.job.image.tag Job by delete image tag. If set to, it takes priority over the images.tag ""
delete.job.image.pullPolicy Job by delete image pull policy IfNotPresent
delete.job.containerSecurityContext.enabled Enable security context for the pre-delete container false
delete.job.resources.requests The requested resources for the job delete container {}
delete.job.resources.limits The resources limits for the job delete container {}
delete.existingConfigmap.tblRemove.name The name of the existing ConfigMap that contains the sql file for deleting tables from the database. If empty, the file bundled in the utils image is used ""
delete.existingConfigmap.tblRemove.keyName The name of the sql file containing instructions for deleting tables from the database. Must be the same as the key name in delete.existingConfigmap.tblRemove.name removetbl.sql
delete.existingConfigmap.dsStop The name of the existing ConfigMap that contains the Euro-Office Docs delete script. If set, the two previous parameters are ignored. Must contain a key stop.sh ""
install.job.enabled Enable the execution of job pre-install before installing Euro-Office Docs true
install.job.annotations Defines annotations that will be additionally added to pre-install Job. If set to, it takes priority over the commonAnnotations {}
install.job.podAnnotations Map of annotations to add to the pre-install Pod {}
install.job.customPodAntiAffinity Prohibiting the scheduling of pre-install Job Pod relative to other Pods containing the specified labels on the same node {}
install.job.podAffinity Defines Pod affinity rules for pre-install Job Pod scheduling by nodes relative to other Pods {}
install.job.nodeAffinity Defines Node affinity rules for pre-install Job Pod scheduling by nodes {}
install.job.nodeSelector Node labels for pre-install Job Pod assignment. If set to, it takes priority over the nodeSelector {}
install.job.tolerations Tolerations for pre-install Job Pod assignment. If set to, it takes priority over the tolerations []
install.job.initContainers Defines containers that run before pre-install container in the Pod []
install.job.image.repository Job by pre-install Euro-Office Docs image repository ghcr.io/euro-office/cluster-utils
install.job.image.tag Job by pre-install Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
install.job.image.pullPolicy Job by pre-install Euro-Office Docs image pull policy IfNotPresent
install.job.containerSecurityContext.enabled Enable security context for the pre-install container false
install.job.resources.requests The requested resources for the job pre-install container {}
install.job.resources.limits The resources limits for the job pre-install container {}
install.existingConfigmap.tblCreate.name The name of the existing ConfigMap that contains the sql file for craeting tables from the database. If empty, the file bundled in the utils image is used ""
install.existingConfigmap.tblCreate.keyName The name of the sql file containing instructions for creating tables from the database. Must be the same as the key name in install.existingConfigmap.tblCreate.name createdb.sql
install.existingConfigmap.initdb The name of the existing ConfigMap that contains the initdb script. If set, the two previous parameters are ignored. Must contain a key initdb.sh ""
clearCache.job.enabled Enable the execution of job Clear Cache after upgrading Euro-Office Docs. Job by Clear Cache has a post-upgrade hook executes after any resources have been upgraded in Kubernetes. He clears the Cache directory true
clearCache.job.annotations Defines annotations that will be additionally added to Clear Cache Job. If set to, it takes priority over the commonAnnotations {}
clearCache.job.podAnnotations Map of annotations to add to the Clear Cache Pod {}
clearCache.job.customPodAntiAffinity Prohibiting the scheduling of Clear Cache Job Pod relative to other Pods containing the specified labels on the same node {}
clearCache.job.podAffinity Defines Pod affinity rules for Clear Cache Job Pod scheduling by nodes relative to other Pods {}
clearCache.job.nodeAffinity Defines Node affinity rules for Clear Cache Job Pod scheduling by nodes {}
clearCache.job.nodeSelector Node labels for Clear Cache Job Pod assignment. If set to, it takes priority over the nodeSelector {}
clearCache.job.tolerations Tolerations for Clear Cache Job Pod assignment. If set to, it takes priority over the tolerations []
clearCache.job.initContainers Defines containers that run before Clear Cache container in the Pod []
clearCache.job.image.repository Job by Clear Cache Euro-Office Docs image repository ghcr.io/euro-office/cluster-utils
clearCache.job.image.tag Job by Clear Cache Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
clearCache.job.image.pullPolicy Job by Clear Cache Euro-Office Docs image pull policy IfNotPresent
clearCache.job.containerSecurityContext.enabled Enable security context for the Clear Cache container false
clearCache.job.resources.requests The requested resources for the job Clear Cache container {}
clearCache.job.resources.limits The resources limits for the job Clear Cache container {}
clearCache.existingConfigmap.name The name of the existing ConfigMap that contains the clears the Cache directory custom script. If set, the default configmap will not be created ""
clearCache.existingConfigmap.keyName The name of the script containing instructions for clears the Cache directory. Must be the same as the key name in clearCache.existingConfigmap.name if a custom script is used clearCache.sh
resumeServer.job.enabled Enable the execution of job Resume Server after upgrading or rolling back Euro-Office Docs. It has post-upgrade and post-rollback hooks and switches the server back on after the pre-upgrade/pre-rollback jobs switched it off. Rendered only if upgrade.job.enabled or rollback.job.enabled is true true
resumeServer.job.deadlineSeconds The total time in seconds the job Resume Server tries to switch the server on and to confirm it. deadlineSeconds + 60 must stay below the Helm --timeout (300s by default); raise both together. The Job (including the image pull) is stopped by Kubernetes after this value + 60s 210
resumeServer.job.attemptTimeoutSeconds The time in seconds to wait for the answer of one DELETE request. The server publishes the new state right after it accepts the request, the answer (at least 30s) is not needed 10
resumeServer.job.graceSeconds The time in seconds after which the DELETE request is sent again if the server still reports that it is switched off 10
resumeServer.job.annotations Defines annotations that will be additionally added to Resume Server Job. If set to, it takes priority over the commonAnnotations {}
resumeServer.job.podAnnotations Map of annotations to add to the Resume Server Pod {}
resumeServer.job.customPodAntiAffinity Prohibiting the scheduling of Resume Server Job Pod relative to other Pods containing the specified labels on the same node {}
resumeServer.job.podAffinity Defines Pod affinity rules for Resume Server Job Pod scheduling by nodes relative to other Pods {}
resumeServer.job.nodeAffinity Defines Node affinity rules for Resume Server Job Pod scheduling by nodes {}
resumeServer.job.nodeSelector Node labels for Resume Server Job Pod assignment. If set to, it takes priority over the nodeSelector {}
resumeServer.job.tolerations Tolerations for Resume Server Job Pod assignment. If set to, it takes priority over the tolerations []
resumeServer.job.initContainers Defines containers that run before Resume Server container in the Pod []
resumeServer.job.image.repository Job by Resume Server Euro-Office Docs image repository ghcr.io/euro-office/cluster-utils
resumeServer.job.image.tag Job by Resume Server Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
resumeServer.job.image.pullPolicy Job by Resume Server Euro-Office Docs image pull policy IfNotPresent
resumeServer.job.containerSecurityContext.enabled Enable security context for the Resume Server container false
resumeServer.job.resources.requests The requested resources for the job Resume Server container {}
resumeServer.job.resources.limits The resources limits for the job Resume Server container {}
resumeServer.existingConfigmap.name The name of the existing ConfigMap that contains the custom script that switches the server back on. If set, the default configmap will not be created ""
resumeServer.existingConfigmap.keyName The name of the script that switches the server back on. Must be the same as the key name in resumeServer.existingConfigmap.name if a custom script is used resume.sh
grafanaDashboard.job.annotations Defines annotations that will be additionally added to Grafana Dashboard Job. If set to, it takes priority over the commonAnnotations {}
grafanaDashboard.job.podAnnotations Map of annotations to add to the Grafana Dashboard Pod {}
grafanaDashboard.job.customPodAntiAffinity Prohibiting the scheduling of Grafana Dashboard Job Pod relative to other Pods containing the specified labels on the same node {}
grafanaDashboard.job.podAffinity Defines Pod affinity rules for Grafana Dashboard Job Pod scheduling by nodes relative to other Pods {}
grafanaDashboard.job.nodeAffinity Defines Node affinity rules for Grafana Dashboard Job Pod scheduling by nodes {}
grafanaDashboard.job.nodeSelector Node labels for Grafana Dashboard Job Pod assignment. If set to, it takes priority over the nodeSelector {}
grafanaDashboard.job.tolerations Tolerations for Grafana Dashboard Job Pod assignment. If set to, it takes priority over the tolerations []
grafanaDashboard.job.initContainers Defines containers that run before Grafana Dashboard container in the Pod []
grafanaDashboard.job.image.repository Job by Grafana Dashboard Euro-Office Docs image repository ghcr.io/euro-office/cluster-utils
grafanaDashboard.job.image.tag Job by Grafana Dashboard Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
grafanaDashboard.job.image.pullPolicy Job by Grafana Dashboard Euro-Office Docs image pull policy IfNotPresent
grafanaDashboard.job.containerSecurityContext.enabled Enable security context for the Grafana Dashboard container false
grafanaDashboard.job.resources.requests The requested resources for the job Grafana Dashboard container {}
grafanaDashboard.job.resources.limits The resources limits for the job Grafana Dashboard container {}
wopiKeysGeneration.job.annotations Defines annotations that will be additionally added to Wopi Keys Generation Job. If set to, it takes priority over the commonAnnotations {}
wopiKeysGeneration.job.podAnnotations Map of annotations to add to the Wopi Keys Generation Pod {}
wopiKeysGeneration.job.customPodAntiAffinity Prohibiting the scheduling of Wopi Keys Generation Job Pod relative to other Pods containing the specified labels on the same node {}
wopiKeysGeneration.job.podAffinity Defines Pod affinity rules for Wopi Keys Generation Job Pod scheduling by nodes relative to other Pods {}
wopiKeysGeneration.job.nodeAffinity Defines Node affinity rules for Wopi Keys Generation Job Pod scheduling by nodes {}
wopiKeysGeneration.job.nodeSelector Node labels for Wopi Keys Generation Job Pod assignment. If set to, it takes priority over the nodeSelector {}
wopiKeysGeneration.job.tolerations Tolerations for Wopi Keys Generation Job Pod assignment. If set to, it takes priority over the tolerations []
wopiKeysGeneration.job.initContainers Defines containers that run before Wopi Keys Generation container in the Pod []
wopiKeysGeneration.job.image.repository Job by Wopi Keys Generation Euro-Office Docs image repository ghcr.io/euro-office/cluster-utils
wopiKeysGeneration.job.image.tag Job by Wopi Keys Generation Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
wopiKeysGeneration.job.image.pullPolicy Job by Wopi Keys Generation Euro-Office Docs image pull policy IfNotPresent
wopiKeysGeneration.job.containerSecurityContext.enabled Enable security context for the Wopi Keys Generation container false
wopiKeysGeneration.job.resources.requests The requested resources for the job Wopi Keys Generation container {}
wopiKeysGeneration.job.resources.limits The resources limits for the job Wopi Keys Generation container {}
wopiKeysDeletion.job.enabled Enable the execution of Wopi Keys Deletion job before deleting Euro-Office Docs. He removes the WOPI secrets generated automatically. It is executed if wopi.keys.generation and wopiKeysDeletion.job.enabled are set to true true
wopiKeysDeletion.job.annotations Defines annotations that will be additionally added to Wopi Keys Deletion Job. If set to, it takes priority over the commonAnnotations {}
wopiKeysDeletion.job.podAnnotations Map of annotations to add to the Wopi Keys Deletion Pod {}
wopiKeysDeletion.job.customPodAntiAffinity Prohibiting the scheduling of Wopi Keys Deletion Job Pod relative to other Pods containing the specified labels on the same node {}
wopiKeysDeletion.job.podAffinity Defines Pod affinity rules for Wopi Keys Deletion Job Pod scheduling by nodes relative to other Pods {}
wopiKeysDeletion.job.nodeAffinity Defines Node affinity rules for Wopi Keys Deletion Job Pod scheduling by nodes {}
wopiKeysDeletion.job.nodeSelector Node labels for Wopi Keys Deletion Job Pod assignment. If set to, it takes priority over the nodeSelector {}
wopiKeysDeletion.job.tolerations Tolerations for Wopi Keys Deletion Job Pod assignment. If set to, it takes priority over the tolerations []
wopiKeysDeletion.job.initContainers Defines containers that run before Wopi Keys Deletion container in the Pod []
wopiKeysDeletion.job.image.repository Job by Wopi Keys Deletion Euro-Office Docs image repository ghcr.io/euro-office/cluster-utils
wopiKeysDeletion.job.image.tag Job by Wopi Keys Deletion Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
wopiKeysDeletion.job.image.pullPolicy Job by Wopi Keys Deletion Euro-Office Docs image pull policy IfNotPresent
wopiKeysDeletion.job.containerSecurityContext.enabled Enable security context for the Wopi Keys Deletion container false
wopiKeysDeletion.job.resources.requests The requested resources for the job Wopi Keys Deletion container {}
wopiKeysDeletion.job.resources.limits The resources limits for the job Wopi Keys Deletion container {}
customResources.job.annotations Defines annotations that will be additionally added to Custom Resources Job. If set to, it takes priority over the commonAnnotations {}
customResources.job.podAnnotations Map of annotations to add to the Custom Resources Pod {}
customResources.job.customPodAntiAffinity Prohibiting the scheduling of Custom Resources Job Pod relative to other Pods containing the specified labels on the same node {}
customResources.job.podAffinity Defines Pod affinity rules for Custom Resources Job Pod scheduling by nodes relative to other Pods {}
customResources.job.nodeAffinity Defines Node affinity rules for Custom Resources Job Pod scheduling by nodes {}
customResources.job.nodeSelector Node labels for Custom Resources Job Pod assignment. If set to, it takes priority over the nodeSelector {}
customResources.job.tolerations Tolerations for Custom Resources Job Pod assignment. If set to, it takes priority over the tolerations []
customResources.job.initContainers Defines containers that run before Custom Resources container in the Pod []
customResources.job.image.repository Job by Custom Resources Euro-Office Docs image repository* ghcr.io/euro-office/cluster-docs
customResources.job.image.tag Job by Custom Resources Euro-Office Docs image tag. If set to, it takes priority over the images.tag ""
customResources.job.image.pullPolicy Job by Custom Resources Euro-Office Docs image pull policy IfNotPresent
customResources.job.containerSecurityContext.enabled Enable security context for the Custom Resources container false
customResources.job.resources.requests The requested resources for the job Custom Resources container {}
customResources.job.resources.limits The resources limits for the job Custom Resources container {}
tests.enabled Enable the resources creation necessary for Euro-Office Docs launch testing and connected dependencies availability testing. These resources will be used when running the helm test command true
tests.annotations Defines annotations that will be additionally added to Test Pod. If set to, it takes priority over the commonAnnotations {}
tests.customPodAntiAffinity Prohibiting the scheduling of Test Pod relative to other Pods containing the specified labels on the same node {}
tests.podAffinity Defines Pod affinity rules for Test Pod scheduling by nodes relative to other Pods {}
tests.nodeAffinity Defines Node affinity rules for Test Pod scheduling by nodes {}
tests.nodeSelector Node labels for Test Pod assignment. If set to, it takes priority over the nodeSelector {}
tests.tolerations Tolerations for Test Pod assignment. If set to, it takes priority over the tolerations []
tests.initContainers Defines containers that run before Test container in the Pod []
tests.image.repository Test container image name ghcr.io/euro-office/cluster-utils
tests.image.tag Test container image tag. If set to, it takes priority over the images.tag ""
tests.image.pullPolicy Test container image pull policy IfNotPresent
tests.containerSecurityContext.enabled Enable security context for the Test container false
tests.resources.requests The requested resources for the test container {}
tests.resources.limits The resources limits for the test container {}
  • *Note: The prefix -de is specified in the value of the image repository, which means solution type. Possible options:

    • -de. For commercial Developer Edition
    • -ee. For commercial Enterprise Edition

    The default value of this parameter refers to the Euro-Office Document Server Developer Edition. To learn more about this edition and compare it with other editions, please see the comparison table on this page.

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install documentserver euro-office/docs --set ingress.enabled=true,ingress.ssl.enabled=true,ingress.host=example.com

This command gives expose Euro-Office Docs via HTTPS.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install documentserver -f values.yaml euro-office/docs

Tip: You can use the default values.yaml

5. Configuration and installation details

5.1 Example deployment (optional)

The Example application is a demo integration, useful for verifying an installation end to end. Enable it with example.enabled=true.

The Example app needs two different URLs, and confusing them is the most common reason a document fails to open:

example:
  enabled: true
  # Browser-facing: where the browser loads the editor from.
  dsUrl: "http://DOCS_EXTERNAL_ADDRESS/"
  extraEnvVars:
    - name: EXAMPLE_URL
      # Server-facing: where Docservice and Converter fetch and save files.
      # Must resolve from inside the cluster.
      value: "http://documentserver.NAMESPACE.svc.cluster.local:8888/example"
  • dsUrl is resolved by the browser. The default "/" works whenever the Example app is opened through Docs itself (http://DOCS_ADDRESS/example/), including via kubectl port-forward or an Ingress. Set an absolute URL only if the Example app is served from a different host than Docs.

  • EXAMPLE_URL is resolved by the server. It must be a cluster-internal address. If it is left unset, the app falls back to http://localhost/example/, and Docservice and Converter then try to download the document from themselves:

    error downloadFile: url=http://localhost/example//download?fileName=new.docx
      attempt=1; code:ECONNREFUSED
    

    localhost inside a pod is that pod, not your machine.

The Example application is for testing only and should not be enabled in production: once enabled, it is reachable through the Docs proxy at /example/ without authentication. A real integration supplies its own callback URLs, subject to the same browser-facing versus server-facing distinction.

5.2 Metrics deployment (optional)

To deploy metrics, set metrics.enabled to true:

$ helm install documentserver euro-office/docs --set metrics.enabled=true

If you want to use Grafana to visualize metrics, set grafana.enabled to true. If you want to use Nginx Ingress to access Grafana, set grafana.ingress.enabled to true:

$ helm install documentserver euro-office/docs --set grafana.enabled=true --set grafana.ingress.enabled=true

5.3 Expose Euro-Office Docs

5.3.1 Expose Euro-Office Docs via Service (HTTP Only)

You should skip step#5.3.1 if you are going to expose Euro-Office Docs via HTTPS

This type of exposure has the least overheads of performance, it creates a loadbalancer to get access to Euro-Office Docs. Use this type of exposure if you use external TLS termination, and don't have another WEB application in the k8s cluster.

To expose Euro-Office Docs via service, set the service.type parameter to LoadBalancer:

$ helm install documentserver euro-office/docs --set service.type=LoadBalancer,service.port=80

Run the following command to get the documentserver service IP:

$ kubectl get service documentserver -o jsonpath="{.status.loadBalancer.ingress[*].ip}"

After that, Euro-Office Docs will be available at http://DOCUMENTSERVER-SERVICE-IP/.

If the service IP is empty, try getting the documentserver service hostname:

$ kubectl get service documentserver -o jsonpath="{.status.loadBalancer.ingress[*].hostname}"

In this case, Euro-Office Docs will be available at http://DOCUMENTSERVER-SERVICE-HOSTNAME/.

5.3.2 Expose Euro-Office Docs via Ingress

5.3.2.1 Installing the Kubernetes Nginx Ingress Controller

To install the Nginx Ingress Controller to your cluster, run the following command:

$ helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.publishService.enabled=true,controller.replicaCount=2

Note: To install Nginx Ingress with the same parameters and to enable exposing ingress-nginx metrics to be gathered by Prometheus, run the following command:

$ helm install nginx-ingress -f https://raw.githubusercontent.com/Euro-Office/Kubernetes-Docs/master/sources/ingress_values.yaml ingress-nginx/ingress-nginx

See more detail about installing Nginx Ingress via Helm here.

5.3.2.2 Expose Euro-Office Docs via HTTP

You should skip step5.3.2.2 if you are going to expose Euro-Office Docs via HTTPS

This type of exposure has more overheads of performance compared with exposure via service, it also creates a loadbalancer to get access to Euro-Office Docs. Use this type if you use external TLS termination and when you have several WEB applications in the k8s cluster. You can use the one set of ingress instances and the one loadbalancer for those. It can optimize the entry point performance and reduce your cluster payments, cause providers can charge a fee for each loadbalancer.

To expose Euro-Office Docs via ingress HTTP, set the ingress.enabled parameter to true:

$ helm install documentserver euro-office/docs --set ingress.enabled=true

Run the following command to get the documentserver ingress IP:

$ kubectl get ingress documentserver -o jsonpath="{.status.loadBalancer.ingress[*].ip}"

After that, Euro-Office Docs will be available at http://DOCUMENTSERVER-INGRESS-IP/.

If the ingress IP is empty, try getting the documentserver ingress hostname:

$ kubectl get ingress documentserver -o jsonpath="{.status.loadBalancer.ingress[*].hostname}"

In this case, Euro-Office Docs will be available at http://DOCUMENTSERVER-INGRESS-HOSTNAME/.

5.3.2.3 Expose Euro-Office Docs via HTTPS

This type of exposure allows you to enable internal TLS termination for Euro-Office Docs.

Create the tls secret with an ssl certificate inside.

Put the ssl certificate and the private key into the tls.crt and tls.key files and then run:

$ kubectl create secret generic tls \
  --from-file=./tls.crt \
  --from-file=./tls.key
$ helm install documentserver euro-office/docs --set ingress.enabled=true,ingress.ssl.enabled=true,ingress.host=example.com

Run the following command to get the documentserver ingress IP:

$ kubectl get ingress documentserver -o jsonpath="{.status.loadBalancer.ingress[*].ip}"

If the ingress IP is empty, try getting the documentserver ingress hostname:

$ kubectl get ingress documentserver -o jsonpath="{.status.loadBalancer.ingress[*].hostname}"

Associate the documentserver ingress IP or hostname with your domain name through your DNS provider.

After that, Euro-Office Docs will be available at https://your-domain-name/.

5.3.2.4 Expose Euro-Office Docs via HTTPS using the Let's Encrypt certificate

  • Add Helm repositories:
    $ helm repo add jetstack https://charts.jetstack.io
    $ helm repo update
  • Installing cert-manager
    $ helm install cert-manager --version v1.17.4 jetstack/cert-manager \
      --namespace cert-manager \
      --create-namespace \
      --set crds.enabled=true \
      --set crds.keep=false

Next, perform the installation or upgrade by setting the ingress.enabled, ingress.ssl.enabled and ingress.letsencrypt.enabled parameters to true. Also set your own values in the parameters ingress.letsencrypt.email, ingress.host or ingress.tenants(for example, --set "ingress.tenants={tenant1.example.com,tenant2.example.com}") if you want to use multiple domain names.

5.3.2.5 Expose Euro-Office Docs on a virtual path

This type of exposure allows you to expose Euro-Office Docs on a virtual path, for example, http://your-domain-name/docs. To expose Euro-Office Docs via ingress on a virtual path, set the ingress.enabled, ingress.host and ingress.path parameters.

$ helm install documentserver euro-office/docs --set ingress.enabled=true,ingress.host=your-domain-name,ingress.path=/docs

The list of supported ingress controllers for virtual path configuration:

For virtual path configuration with Ingress NGINX by Kubernetes, append the pattern (/|$)(.*) to the ingress.path, for example, /docs becomes /docs(/|$)(.*).

5.3.3 Expose Euro-Office Docs via route in OpenShift

This type of exposure allows you to expose Euro-Office Docs via route in OpenShift. Route configuration can be found here.

5.4 Admin Panel deployment (optional)

To deploy the Admin Panel, set the adminpanel.enabled parameter to true:

$ helm install documentserver euro-office/docs --set adminpanel.enabled=true

For first authorization, use the secret value Bootstrap code. You can find it by opening the adminpanel Pod log. The Bootstrap code is valid for 1 hour.

6. Scale Euro-Office Docs (optional)

This step is optional. You can skip step 6 entirely if you want to use default deployment settings.

6.1 Horizontal Pod Autoscaling

You can enable Autoscaling so that the number of replicas of docservice and converter deployments is calculated automatically based on the values and type of metrics.

For resource metrics, API metrics.k8s.io must be registered, which is generally provided by metrics-server. It can be launched as a cluster add-on.

To use the target utilization value (target.type==Utilization), it is necessary that the values for resources.requests are specified in the deployment.

For more information about Horizontal Pod Autoscaling, see here.

To enable HPA for the docservice deployment, specify the docservice.autoscaling.enabled=true parameter. In this case, the docservice.replicas parameter is ignored and the number of replicas is controlled by HPA.

Similarly, to enable HPA for the converter deployment, specify the converter.autoscaling.enabled=true parameter. In this case, the converter.replicas parameter is ignored and the number of replicas is controlled by HPA.

With the autoscaling.enabled parameter enabled, by default Autoscaling will adjust the number of replicas based on the average percentage of CPU Utilization. For other configurable Autoscaling parameters, see the Parameters table.

6.2 Manual scaling

The docservice and converter deployments consist of 2 pods each other by default.

To scale the docservice deployment, use the following command:

$ kubectl scale -n default deployment docservice --replicas=POD_COUNT

where POD_COUNT is a number of the docservice pods.

Do the same to scale the converter deployment:

$ kubectl scale -n default deployment converter --replicas=POD_COUNT

7. Update Euro-Office Docs

It's necessary to set the parameters for updating. For example,

$ helm upgrade documentserver euro-office/docs \
  --set images.tag=[version]

Note: also need to specify the parameters that were specified during installation

Or modify the values.yaml file and run the command:

$ helm upgrade documentserver -f values.yaml euro-office/docs

The pre-upgrade hook (upgrade.job.enabled=true by default) shuts down the Euro-Office Docs and recreates the database tables, see the notes below. If the version of Euro-Office Docs or the database connection changes, the resume-server job switches the server back on afterwards. If neither changes, the job detects this and does nothing (see Upgrade lifecycle). The default hook execution time is 300s. The execution time can be changed using --timeout [time], for example

$ helm upgrade documentserver -f values.yaml euro-office/docs --timeout 15m

Note: resumeServer.job.deadlineSeconds + 60 must stay below the --timeout value, see Upgrade lifecycle

Note: The pre-upgrade Job resets the database tables when the version or the database changes. See the notes below.

If you want to update any parameter other than the version of the Euro-Office Docs, then run the helm upgrade command without hooks, for example:

$ helm upgrade documentserver euro-office/docs --set jwt.enabled=false --no-hooks

To rollback updates, run the following command:

$ helm rollback documentserver

Note: The pre-rollback Job resets the database tables when the version or the database changes. See the notes below.

8. Shutdown Euro-Office Docs (optional)

To perform the shutdown, run the following command:

$ kubectl apply -f https://raw.githubusercontent.com/Euro-Office/Kubernetes-Docs/master/sources/shutdown-ds.yaml -n <NAMESPACE>

Where:

  • <NAMESPACE> - Namespace where Euro-Office Docs is installed. If not specified, the default value will be used: default.

For example:

$ kubectl apply -f https://raw.githubusercontent.com/Euro-Office/Kubernetes-Docs/master/sources/shutdown-ds.yaml -n euro-office

After successfully executing the Pod shutdown-ds that created the Job, delete this Job with the following command:

$ kubectl delete job shutdown-ds -n <NAMESPACE>

If after stopping Euro-Office Docs you need to start it again then restart docservice and converter pods. For example, using the following command:

$ kubectl delete pod converter-*** docservice-*** -n <NAMESPACE>

9. Update Euro-Office Docs license (optional)

After the release v5.1.1, you can update the license by simply recreating the secret with the new license, without deleting or rebooting pods. The documentserver is now able to dynamically reread the license file after replacing it. For example:

In order to update the license, you need to perform the following steps:

  • Place the license.lic file containing the new key in some directory
  • Run the following commands:
$ kubectl delete secret [SECRET_LICENSE_NAME] -n <NAMESPACE>
$ kubectl create secret generic [SECRET_LICENSE_NAME] --from-file=path/to/license.lic -n <NAMESPACE>
  • Where SECRET_LICENSE_NAME is the name of an existing secret with a license

Thats all, the documentserver will reread the new license itself.

[DEPRECATED METHOD]

  • Restart docservice and converter pods. For example, using the following command:
$ kubectl delete pod converter-*** docservice-*** -n <NAMESPACE>

10. Euro-Office Docs installation test (optional)

You can test Euro-Office Docs availability and access to connected dependencies by running the following command:

$ helm test documentserver -n <NAMESPACE>

The output should have the following line:

Phase: Succeeded

To view the log of the Pod running as a result of the helm test command, run the following command:

$ kubectl logs -f test-ds -n <NAMESPACE>

The Euro-Office Docs availability check is considered a priority, so if it fails with an error, the test is considered to be failed.

After this, you can delete the test-ds Pod by running the following command:

$ kubectl delete pod test-ds -n <NAMESPACE>

Note: This testing is for informational purposes only and cannot guarantee 100% availability results. It may be that even though all checks are completed successfully, an error occurs in the application. In this case, more detailed information can be found in the application logs.

11. Database schema and hook Jobs

The SQL scripts used by the pre-install Job (createdb.sql) and by the optional pre-upgrade, pre-rollback and pre-delete Jobs (removetbl.sql, createdb.sql) are bundled in the cluster-utils image under /scripts/schema/<dbType>/. Nothing is downloaded at runtime, so the Jobs work in clusters without Internet access and the schema always matches the image version.

Requires cluster-utils 9.3.8+ (it bundles /scripts/schema).

connections.dbType Directory in the image
postgres /scripts/schema/postgresql/
mysql, mariadb /scripts/schema/mysql/
mssql /scripts/schema/mssql/
oracle /scripts/schema/oracle/
dameng /scripts/schema/dameng/

Requirement: utils image: the cluster-utils image used by the Jobs must contain /scripts/schema/<dbType>/createdb.sql (and removetbl.sql for the upgrade, rollback and delete Jobs).

If the script is not found, the Job fails with a message like the following and nothing is changed in the database:

SQL script /scripts/schema/postgresql/createdb.sql not found

Workaround for an image without the schema: provide the scripts yourself with existingConfigmap.tblCreate / existingConfigmap.tblRemove, see Using your own SQL scripts. The file is mounted as a single file (subPath) at /scripts/<keyName>, and the Job then uses that path instead of the bundled one.

Note: The cluster-utils image contains the clients for PostgreSQL, MySQL/MariaDB, MSSQL and Oracle. It does not contain the Dameng client (disql), so the Jobs cannot work with connections.dbType=dameng unless you provide a custom image that includes it.

Using your own SQL scripts

To use your own scripts instead of the bundled ones, create a ConfigMap and set its name and the key name for the corresponding Job:

$ kubectl create configmap init-db-scripts --from-file=./createdb.sql
$ helm install documentserver euro-office/docs \
  --set install.existingConfigmap.tblCreate.name=init-db-scripts \
  --set install.existingConfigmap.tblCreate.keyName=createdb.sql

The same applies to upgrade.existingConfigmap.*, rollback.existingConfigmap.* (tblRemove and tblCreate) and delete.existingConfigmap.tblRemove. The file is mounted at /scripts/<keyName>.

Jobs that drop tables

The upgrade.job.enabled and rollback.job.enabled parameters are true by default, delete.job.enabled is false. When a hook runs, it asks the Docservice to stop accepting new connections (/internal/cluster/inactive), waits for open documents to be saved and then runs removetbl.sql, which drops the tables doc_changes, task_result and doc_callbacks (the upgrade and rollback Jobs then recreate them with createdb.sql).

  • Upgrade and rollback reset the tables only on a version change (or a change of the database connection). With upgrade.job.skipWhenUnchanged=true (and rollback.job.skipWhenUnchanged=true), a helm upgrade that keeps the same image tags and database does not stop the server and does not touch the tables, see the version gate. This reset is how a new schema reaches existing installs, because pre-install runs only on a fresh install.
  • Tags without a numeric version (latest, a digest) disable the gate: the Jobs cannot tell whether the version changed, so they reset the tables on every helm upgrade and helm rollback. Use a versioned tag.
  • Delete is off by default: helm uninstall keeps the tables unless you set delete.job.enabled=true.

The editor state is kept in the memory of each Docservice Pod. The inactive request is sent to all Docservice Pods, but the wait only counts the open documents on the Pod that received it. With more than one Docservice replica, run version upgrades (and rollbacks) in a quiet window with no active editing sessions: otherwise the tables may be dropped while other Pods are still saving. The same applies to delete.job.enabled=true.

The PUT /internal/cluster/inactive call takes at least 30 seconds, even with no open editors: after sending the shutdown to all Docservice Pods, the server waits a fixed 30 seconds for delivery before it checks for open documents. It returns false if documents are still being saved after 30 seconds plus the conversion timeout; the pre-upgrade Job then stops, while pre-rollback and pre-delete continue. Allow for this delay in the --timeout of helm upgrade, helm rollback and helm uninstall (default 300s). The Jobs use backoffLimit: 2, so a failed attempt is retried and repeats the call.

To drop the tables on helm uninstall, set delete.job.enabled=true with helm install or helm upgrade (the uninstall uses the values stored in the release). To switch the upgrade Job off, for example:

$ helm upgrade documentserver euro-office/docs --set upgrade.job.enabled=false

WOPI keys are deleted on helm uninstall

helm uninstall (and a replace of the release, which uninstalls and installs again) runs the wopi-keys-del hook, which deletes the Secrets docs-wopi-keys and docs-wopi-keys-old (the names get the commonNameSuffix, if set). The next install generates them again, so the automatically generated WOPI keys change. The hook runs only if wopi.keys.generation and wopiKeysDeletion.job.enabled are true; set wopiKeysDeletion.job.enabled=false if the Secrets must survive an uninstall.

Migration notes

  • privateCluster and sqlScripts.branchName are removed. Remove them from your values files. The Jobs no longer download anything, and the ConfigMaps with SQL scripts created for privateCluster=true are no longer required. If you still want to use them, set the existingConfigmap.*.name parameters explicitly.
  • The defaults of *.existingConfigmap.tblCreate.name and *.existingConfigmap.tblRemove.name changed from init-db-scripts/remove-db-scripts to "". Set the name explicitly if you rely on those ConfigMaps.
  • delete.job.enabled now defaults to false, so helm delete no longer drops the database tables by default. Set it to true if you rely on that. upgrade.job.enabled and rollback.job.enabled keep their default true.
  • webProxy is still available for the Jobs that need Internet access to other resources.
  • The cluster-utils image tag must be a release that contains /scripts/schema. Older images do not, and the Jobs fail.

12. Access to the info page (optional)

The access to /info page is limited by default. In order to allow the access to it, you need to specify the IP addresses or subnets (that will be Proxy container clients in this case) using proxy.infoAllowedIP parameter. Taking into consideration the specifics of Kubernetes net interaction it is possible to get the original IP of the user (being Proxy client) though it's not a standard scenario. Generally the Pods / Nodes / Load Balancer addresses will actually be the clients, so these addresses are to be used. In this case the access to the info page will be available to everyone. You can further limit the access to the info page using Nginx Basic Authentication which you can turn on by setting proxy.infoAllowedUser parameter value and by setting the password using proxy.infoAllowedPassword parameter, alternatively you can use the existing secret with password by setting its name with proxy.infoAllowedExistingSecret parameter.

13. Deploying with Argo CD / GitOps

Argo CD renders the chart with helm template on every refresh and compares the result with the live state, so the rendered output must be deterministic. Pods are restarted automatically when the Helm-rendered ConfigMaps/Secrets they consume change: the Pod templates carry checksum/* annotations computed from them (a key set in *.podAnnotations takes priority).

  1. Set jwt.existingSecret, proxy.secureLinkExistingSecret and proxy.infoAllowedExistingSecret. Without them the chart-created Secrets fall back to a random value under helm template (no lookup), so they drift and are rotated on every render. A rotated JWT secret breaks integrations.
  2. The checksums cannot cover Secrets and ConfigMaps that are not rendered by the chart: connections.*ExistingSecret, license.existingSecret, the WOPI keys Secrets (created by a Job), extraConf.configMap and extraThemes.configMap. Use Stakater Reloader for Secrets rotated outside Git, or versioned ConfigMap names (changed in Git) for ConfigMaps. The chart does not install Reloader.
  3. The chart cannot see the content of the persistence.customResources PVC. After every change of that content (new, changed or removed fonts, plugins or dictionaries, also a replaced file with the same name) bump customResources.versionSalt in Git: the sync runs the custom-resources Job (PreSync hook), the changed DS_VERSION_HASH rolls the Pods, and browsers fetch the new assets. Without a Git change Argo CD does not sync, so the Job does not run and the hash does not change. If the salt is not bumped, the custom-resources Job still rebuilds the buffer PVC on the next sync (if a *.build parameter is true, it runs on every pre-upgrade), but no rollout follows and the running Pods keep serving the old files. The Pods copy the buffer only when a container starts, so after a later restart of a single Pod the replicas serve different content under the same cache tag (DS_VERSION_HASH). The version gate does not skip the custom-resources Job.

13.1 Upgrade lifecycle

On helm upgrade (and helm rollback) the chart runs these jobs around the update of the workloads:

Step Hook What it does
1 pre-upgrade / pre-rollback job Version gate, then, only if the gate does not skip: switches the server off (PUT /internal/cluster/inactive, reaches all docservice Pods), checks the database and resets the database tables. pre-rollback also empties the cache directory
2 the workloads are updated Pods are replaced if their Pod template changed
3 post-upgrade / post-rollback job resume-server Switches the server back on (DELETE /internal/cluster/inactive) and checks the result
4 post-upgrade job clear-cache Clears the cache directory

Why the server must be switched on again. The switched-off state is a flag in the memory of every docservice process. It is cleared only by DELETE /internal/cluster/inactive or by restarting the Pod. Pods are no longer restarted on every upgrade, so the resume-server job sends the DELETE, then reads the state three times and sends the DELETE again only if the server is still switched off after resumeServer.job.graceSeconds. The job fails (exit code 1) only if the server answers and is still switched off at resumeServer.job.deadlineSeconds. If the server does not answer (for example Pods are still being replaced), it only prints a warning and succeeds: new Pods start switched on.

Version gate. The pre-upgrade and pre-rollback jobs skip the switch-off and the table reset only if all of the following hold:

  • the old and the new docservice image tag are exactly equal (the old tag is read from the live documentserver ConfigMap, STORAGE_SUBDIRECTORY_NAME);
  • the converter image tag equals the docservice tag;
  • the database type, host, port and name are unchanged, and the database user is unchanged if the old one is known;
  • every one of five GET /index.html requests to the docservice Service reports the target version (the numeric part of the tag: v9.3.7-1 gives 9.3.7).

Every uncertain case (a missing old value, a tag without a numeric version such as nightly, an unreachable server, any difference) runs the full procedure as before. A skipped run changes nothing: the server stays on and the tables are kept.

Forcing a full reset on purpose. Run one upgrade (or rollback) with --set upgrade.job.skipWhenUnchanged=false (rollback.job.skipWhenUnchanged=false for a rollback). Under GitOps set it in Git for one sync and revert it afterwards. With the value false the jobs behave as in chart versions before 6.1.0.

Limitations of the gate.

  • The old database user can only be compared if DB_USER is still in the documentserver ConfigMap. If it is not (for example it was moved to a Secret), a change of only the user is not detected.
  • The old converter image is not read from the cluster; the gate compares the rendered converter tag with the docservice tag. If you set a converter tag that is permanently different from the docservice tag, the gate never skips.
  • The gate does not look at other values. A change that needs a table reset without a version or database change needs a forced full run.

Timing. Helm waits for each hook for at most --timeout (300s by default). The resume-server job is stopped by Kubernetes after resumeServer.job.deadlineSeconds + 60 seconds (the image pull counts), so deadlineSeconds + 60 must stay below the Helm --timeout. Raise both together. The pre-upgrade job can wait for running document saves for a long time (the server waits up to about 30 minutes), which is longer than the default --timeout; use a larger --timeout if you have long-running sessions.

13.2 Helm hooks under Argo CD

Argo CD maps Helm hooks to its own hooks (Helm hooks in the Argo CD documentation):

Helm hook Argo CD Chart jobs
pre-install, pre-upgrade PreSync pre-install, pre-upgrade, custom-resources, wopi-keys-gen
post-install, post-upgrade PostSync resume-server, clear-cache, dashboard
pre-delete PreDelete pre-delete, wopi-keys-del
pre-rollback, post-rollback ignored pre-rollback, resume-server (rollback part)
helm.sh/hook-weight sync-wave
  • Argo CD cannot tell an install from an upgrade: every sync is one operation, so the pre-install and the pre-upgrade hooks run together on every sync.
  • A rollback in Argo CD is a sync to an older revision. It runs the PreSync and PostSync hooks, not the pre-rollback/post-rollback ones. The version gate and resume-server work the same way for it.
  • resume-server is a PostSync hook, so it runs after the workloads are synced. Because the gate skips the switch-off when nothing changes, a sync without a version or database change does not touch the running server.
  • If you define any Argo CD hook annotation yourself, Argo CD ignores all Helm hooks.
  • To skip the jobs for one sync, set upgrade.job.enabled=false (the resume-server job is then not rendered either, unless rollback.job.enabled is true).

13.3 Manual recovery

If editors are refused after an upgrade, or the resume-server job reported that the server is still switched off, check and clear the state. The state is kept per Pod, and a DELETE sent to any Pod is published to all of them:

$ for pod in $(kubectl get pods -l app=docservice -o name); do
    echo "$pod $(kubectl exec $pod -c docservice -- curl -s http://localhost:8000/internal/cluster/inactive)"
  done
$ kubectl exec deploy/docservice -c docservice -- curl -s --max-time 10 -X DELETE http://localhost:8000/internal/cluster/inactive

{"shutdown":true} means the server is switched off, {"shutdown":false} means it is on. Repeat the first command to confirm that every Pod reports false. The server publishes the new state as soon as it accepts the DELETE, but it answers only after it finished the earlier switch-off, which can take a long time; that is why the command stops waiting after 10 seconds. Do not send the DELETE repeatedly. Restarting the docservice Pods also clears the state.

Troubleshooting

Pods stay Pending with Insufficient memory

0/3 nodes are available: 3 Insufficient memory.

The scheduler reserves based on requests, not on actual usage — kubectl top nodes can show plenty free while scheduling still fails. Compare the two:

$ kubectl describe nodes | grep -A8 "Allocated resources"
$ kubectl top nodes

Lower the requests you set for Docs (none by default) or for your dependencies, or use larger nodes.

Also check limits. Totals above 100% of node capacity are allowed, but if several containers claim their limit at once the kernel starts OOM-killing pods. Converter is memory-hungry when processing large documents; keep its memory limit below node capacity.

Documents fail to open, ECONNREFUSED on localhost

error downloadFile: url=http://localhost/... code:ECONNREFUSED
postData error: url = http://localhost/...

The integration is telling Docs to fetch the file from localhost, which inside a pod means that pod. The calling application must supply a cluster-resolvable URL. For the Example app see 5.1.

NOT_FOUND - queue 'ds.converttaskN' ... process is stopped by supervisor

The queue's home broker node is down or restarting. Docs declares classic queues, which live on a single node and are unavailable while that node is unavailable. Common after a broker rolling restart. Check that the cluster reformed:

$ kubectl exec BROKER_POD -- rabbitmq-diagnostics cluster_status

If conversions still fail after the broker is back, restart Docservice (kubectl rollout restart deploy/docservice). To avoid this on multi-replica brokers, switch Docs to quorum queues, see 3.1.

PRECONDITION_FAILED - inequivalent arg 'x-max-priority' for queue 'ds.converttaskN'

The queue already exists with different arguments, typically after changing x-queue-type in local.json. RabbitMQ does not change an existing queue's type. Delete the queue (rabbitmqctl delete_queue <name>) and restart Docservice and Converter so they recreate it. Messages still in the queue are lost.

Multi-Attach error for volume ... already exclusively attached to one node

A ReadWriteOnce volume is still attached to the previous node. It normally clears once detachment completes, typically a few minutes. Persistent occurrences point to a pod stuck Terminating on the old node, or to a ReadWriteOnce class being used where ReadWriteMany is required — see section 12.

Node drains stall or pods stay Terminating

A drain honours PodDisruptionBudgets and pod grace periods. A PodDisruptionBudget that cannot be satisfied blocks the drain indefinitely; a preStop hook that waits (for example the RabbitMQ Cluster Operator's quorum check) delays it up to the pod's terminationGracePeriodSeconds. The Docs workloads use 30 seconds by default. Check the budgets and grace periods of your dependencies before a planned upgrade.

Verifying an installation end to end

Pods reporting Running only proves the HTTP probes pass. Several dependencies are used lazily and are not exercised until a document is opened:

  1. kubectl port-forward svc/documentserver 8082:8888 → welcome page loads (Docservice + Proxy).
  2. helm test RELEASE_NAME → chart's own dependency checks. Note that the Redis check does not use TLS and fails against a TLS-only Redis.
  3. Open, edit and close a document through the Example app or your integration → exercises Redis (session), the message broker (save task) and the database.
  4. Confirm objects appear in the S3 bucket, or in the ds-files PVC → storage.

Step 4 is the one most often skipped, and the only one that proves the storage configuration.

Using Grafana to visualize metrics (optional)

This step is optional. You can skip this section if you don't want to install Grafana

1. Deploy Grafana

Note: It is assumed that step #6.2 has already been completed.

1.1 Deploy Grafana without installing ready-made dashboards

You should skip step #1.1 if you want to Deploy Grafana with the installation of ready-made dashboards

To install Grafana to your cluster, run the following command:

$ helm install grafana --version 12.1.8 bitnami/grafana \
  --set service.ports.grafana=80 \
  --set config.useGrafanaIniFile=true \
  --set config.grafanaIniConfigMap=grafana-ini \
  --set datasources.secretName=grafana-datasource \
  --set resourcesPreset=none \
  --set image.repository=bitnamilegacy/grafana \
  --set image.tag=12.1.1-debian-12-r1 \
  --set global.security.allowInsecureImages=true

1.2 Deploy Grafana with the installation of ready-made dashboards

1.2.1 Installing ready-made Grafana dashboards

To install ready-made Grafana dashboards, set the grafana.enabled and grafana.dashboard.enabled parameters to true. If Euro-Office Docs is already installed you need to run the helm upgrade documentserver euro-office/docs --set grafana.enabled=true --set grafana.dashboard.enabled=true command or helm upgrade documentserver -f ./values.yaml euro-office/docs if the parameters are specified in the values.yaml file. As a result, ready-made dashboards in the JSON format will be downloaded from the Grafana website, the necessary edits will be made to them and configmap will be created from them. A dashboard will also be added to visualize metrics coming from the Euro-Office Docs (it is assumed that step #6 has already been completed).

1.2.2 Installing Grafana

To install Grafana to your cluster, run the following command:

$ helm install grafana --version 12.1.8 bitnami/grafana \
  --set service.ports.grafana=80 \
  --set config.useGrafanaIniFile=true \
  --set config.grafanaIniConfigMap=grafana-ini \
  --set datasources.secretName=grafana-datasource \
  --set resourcesPreset=none \
  --set image.repository=bitnamilegacy/grafana \
  --set image.tag=12.1.1-debian-12-r1 \
  --set global.security.allowInsecureImages=true \
  --set dashboardsProvider.enabled=true \
  --set dashboardsConfigMaps[0].configMapName=dashboard-node-exporter \
  --set dashboardsConfigMaps[0].fileName=dashboard-node-exporter.json \
  --set dashboardsConfigMaps[1].configMapName=dashboard-deployment \
  --set dashboardsConfigMaps[1].fileName=dashboard-deployment.json \
  --set dashboardsConfigMaps[2].configMapName=dashboard-redis \
  --set dashboardsConfigMaps[2].fileName=dashboard-redis.json \
  --set dashboardsConfigMaps[3].configMapName=dashboard-rabbitmq \
  --set dashboardsConfigMaps[3].fileName=dashboard-rabbitmq.json \
  --set dashboardsConfigMaps[4].configMapName=dashboard-postgresql \
  --set dashboardsConfigMaps[4].fileName=dashboard-postgresql.json \
  --set dashboardsConfigMaps[5].configMapName=dashboard-nginx-ingress \
  --set dashboardsConfigMaps[5].fileName=dashboard-nginx-ingress.json \
  --set dashboardsConfigMaps[6].configMapName=dashboard-documentserver \
  --set dashboardsConfigMaps[6].fileName=dashboard-documentserver.json \
  --set dashboardsConfigMaps[7].configMapName=dashboard-cluster-resourses \
  --set dashboardsConfigMaps[7].fileName=dashboard-cluster-resourses.json

After executing this command, the following dashboards will be imported into Grafana:

  • Node Exporter
  • Deployment Statefulset Daemonset
  • Redis Dashboard for Prometheus Redis Exporter
  • RabbitMQ-Overview
  • PostgreSQL Database
  • NGINX Ingress controller
  • Euro-Office Docs
  • Resource usage by Pods and Containers

Note: You can see the description of the Euro-Office Docs metrics that are visualized in Grafana here.

See more details about installing Grafana via Helm here.

2 Access to Grafana via Ingress

Note: It is assumed that step #5.3.2.1 has already been completed.

If Euro-Office Docs was installed with the parameter grafana.ingress.enabled (step #5.2) then access to Grafana will be at: http://INGRESS-ADDRESS/grafana/

If Ingres was installed using a secure connection (step #5.3.2.3), then access to Grafana will be at: https://your-domain-name/grafana/

3. View gathered metrics in Grafana

Go to the address http(s)://your-domain-name/grafana/

Login - admin

To get the password, run the following command:

$ kubectl get secret grafana-admin --namespace default -o jsonpath="{.data.GF_SECURITY_ADMIN_PASSWORD}" | base64 --decode

In the dashboard section, you will see the added dashboards that will display the metrics received from Prometheus.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages