confluence

by Atlassian

Helm chartv2.0.22App 10.2.22Verified publisherOfficial

A chart for installing Confluence Data Center on Kubernetes

About this chart

confluence

A chart for installing Confluence Data Center on Kubernetes

Homepage: https://atlassian.github.io/data-center-helm-charts/

Source Code

Requirements

Kubernetes: >=1.21.x-0

RepositoryNameVersion
https://atlassian.github.io/data-center-helm-chartscommon1.2.7
https://opensearch-project.github.io/helm-chartsopensearch3.5.0

Values

KeyTypeDefaultDescription
additionalConfigMapslist[]Create additional ConfigMaps with given names, keys and content. Ther Helm release name will be used as a prefix for a ConfigMap name, fileName is used as subPath
additionalContainerslist[]Additional container definitions that will be added to all Confluence pods
additionalFileslist[]Additional existing ConfigMaps and Secrets not managed by Helm that should be mounted into service container. Configuration details below (camelCase is important!): 'name' - References existing ConfigMap or secret name. 'type' - 'configMap' or 'secret' 'key' - The file name. 'mountPath' - The destination directory in a container. VolumeMount and Volumes are added with this name and index position, for example; custom-config-0, keystore-2
additionalHostslist[]Additional host aliases for each pod, equivalent to adding them to the /etc/hosts file. https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
additionalInitContainerslist[]Additional initContainer definitions that will be added to all Confluence pods
additionalLabelsobject{}Additional labels that should be applied to all resources
affinityobject{}Standard K8s affinities that will be applied to all Confluence pods
atlassianAnalyticsAndSupport.analytics.enabledbooltrueMount ConfigMap with selected Helm chart values as a JSON which DC products will read and send analytics events to Atlassian data pipelines
atlassianAnalyticsAndSupport.helmValues.enabledbooltrueMount ConfigMap with selected Helm chart values as a YAML file which can be optionally including to support.zip
confluence.accessLog.enabledbooltrueSet to 'true' if access logging should be enabled.
confluence.accessLog.localHomeSubPathstring"logs"The subdirectory within the local-home volume where access logs should be stored.
confluence.accessLog.mountPathstring"/opt/atlassian/confluence/logs"The path within the Confluence container where the local-home volume should be mounted in order to capture access logs.
confluence.additionalAnnotationsobject{}Defines additional annotations to the Confluence StateFulSet. This might be required when deploying using a GitOps approach
confluence.additionalBundledPluginslist[]Specifies a list of additional Confluence plugins that should be added to the Confluence container. Note plugins installed via this method will appear as bundled plugins rather than user plugins. These should be specified in the same manner as the 'additionalLibraries' property. Additional details: https://atlassian.github.io/data-center-helm-charts/examples/external_libraries/EXTERNAL_LIBS/ NOTE: only .jar files can be loaded using this approach. OBR's can be extracted (unzipped) to access the associated .jar An alternative to this method is to install the plugins via "Manage Apps" in the product system administration UI.
confluence.additionalCertificatesobject{"customCmd":null,"initContainer":{"resources":{},"securityContext":{}},"secretList":[],"secretName":null}Certificates to be added to Java truststore. Provide reference to a secret that contains the certificates
confluence.additionalCertificates.customCmdstringnilCustom command to be executed in the init container to import certificates
confluence.additionalCertificates.initContainer.resourcesobject{}Resources allocated to the import-certs init container
confluence.additionalCertificates.initContainer.securityContextobject{}Custom SecurityContext for the import-certs init container
confluence.additionalCertificates.secretListlist[]A list of secrets with their respective keys holding certificates to be added to the Java truststore. It is mandatory to specify which keys from secret data need to be mounted as files to the init container.
confluence.additionalCertificates.secretNamestringnilName of the Kubernetes secret with certificates in its data. All secret keys in the secret data will be treated as certificates to be added to Java truststore. If defined, this takes precedence over secretList.
confluence.additionalEnvironmentVariableslist[]Defines any additional environment variables to be passed to the Confluence container. See https://hub.docker.com/r/atlassian/confluence for supported variables.
confluence.additionalJvmArgslist[]Specifies a list of additional arguments that can be passed to the Confluence JVM, e.g. system properties.
confluence.additionalLibrarieslist[]Specifies a list of additional Java libraries that should be added to the Confluence container. Each item in the list should specify the name of the volume that contains the library, as well as the name of the library file within that volume's root directory. Optionally, a subDirectory field can be included to specify which directory in the volume contains the library file. Additional details: https://atlassian.github.io/data-center-helm-charts/examples/external_libraries/EXTERNAL_LIBS/
confluence.additionalPortslist[]Defines any additional ports for the Confluence container.
confluence.additionalVolumeClaimTemplateslist[]Defines additional volumeClaimTemplates that should be applied to the Confluence pod. Note that this will not create any corresponding volume mounts; those needs to be defined in confluence.additionalVolumeMounts
confluence.additionalVolumeMountslist[]Defines any additional volumes mounts for the Confluence container. These can refer to existing volumes, or new volumes can be defined via 'volumes.additional'.
confluence.clustering.enabledboolfalseSet to 'true' if Data Center clustering should be enabled This will automatically configure cluster peer discovery between cluster nodes.
confluence.clustering.usePodNameAsClusterNodeNamebooltrueSet to 'true' if the K8s pod name should be used as the end-user-visible name of the Data Center cluster node.
confluence.containerSecurityContextobject{}Standard K8s field that holds security configurations that will be applied to a container. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
confluence.forceConfigUpdateboolfalseThe Docker entrypoint.py generates application configuration on first start; not all of these files are regenerated on subsequent starts. By default, confluence.cfg.xml is generated only once. Set forceConfigUpdate to true to change this behavior.
confluence.hazelcastService.annotationsobject{}Additional annotations to apply to the Hazelcast Service
confluence.hazelcastService.enabledboolfalseEnable or disable an additional Hazelcast service that Confluence nodes can use to join a cluster. It is recommended to create a separate Hazelcast service if the Confluence service uses a LoadBalancer type (e.g., NLB), ensuring that the Hazelcast port is not exposed at all.
confluence.hazelcastService.portint5701The port on which the Confluence K8s Hazelcast Service will listen
confluence.hazelcastService.typestring"ClusterIP"The type of the Hazelcast K8s service to use for Confluence
confluence.jvmDebug.enabledboolfalseSet to 'true' for remote debugging. Confluence JVM will be started with debugging port 5005 open.
confluence.license.secretKeystring"license-key"The key in the K8s Secret that contains the Confluence license key
confluence.license.secretNamestringnilThe name of the K8s Secret that contains the Confluence license key. If specified, then the license will be automatically populated during Confluence setup. Otherwise, it will need to be provided via the browser after initial startup. An Example of creating a K8s secret for the license below: 'kubectl create secret generic --from-literal=license-key= https://kubernetes.io/docs/concepts/configuration/secret/#opaque-secrets
confluence.livenessProbe.customProbeobject{}Custom livenessProbe to override the default tcpSocket probe
confluence.livenessProbe.enabledboolfalseWhether to apply the livenessProbe check to pod.
confluence.livenessProbe.failureThresholdint12The number of consecutive failures of the Confluence container liveness probe before the pod fails liveness checks.
confluence.livenessProbe.initialDelaySecondsint60Time to wait before starting the first probe
confluence.livenessProbe.periodSecondsint5How often (in seconds) the Confluence container liveness probe will run
confluence.livenessProbe.timeoutSecondsint1Number of seconds after which the probe times out
confluence.ports.hazelcastint5701The port on which the Confluence container listens for Hazelcast traffic
confluence.ports.httpint8090The port on which the Confluence container listens for HTTP traffic
confluence.postStartobject{"command":null}PostStart is executed immediately after a container is created. However, there is no guarantee that the hook will execute before the container ENTRYPOINT. See: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks
confluence.readinessProbe.customProbeobject{}Custom readinessProbe to override the default /status httpGet
confluence.readinessProbe.enabledbooltrueWhether to apply the readinessProbe check to pod.
confluence.readinessProbe.failureThresholdint6The number of consecutive failures of the Confluence container readiness probe before the pod fails readiness checks.
confluence.readinessProbe.initialDelaySecondsint10The initial delay (in seconds) for the Confluence container readiness probe, after which the probe will start running.
confluence.readinessProbe.periodSecondsint5How often (in seconds) the Confluence container readiness probe will run
confluence.readinessProbe.timeoutSecondsint1Number of seconds after which the probe times out
confluence.resources.container.requests.cpustring"2"Initial CPU request by Confluence pod.
confluence.resources.container.requests.memorystring"2G"Initial Memory request by Confluence pod
confluence.resources.jvm.maxHeapstring"1g"The maximum amount of heap memory that will be used by the Confluence JVM
confluence.resources.jvm.minHeapstring"1g"The minimum amount of heap memory that will be used by the Confluence JVM
confluence.resources.jvm.reservedCodeCachestring"256m"The memory reserved for the Confluence JVM code cache
confluence.s3AttachmentsStorage.bucketNamestringnil
confluence.s3AttachmentsStorage.bucketRegionstringnil
confluence.s3AttachmentsStorage.endpointOverridestringnilEXPERIMENTAL Feature! Override the default AWS API endpoint with a custom one, for example to use Minio as object storage https://min.io/
confluence.securityContext.fsGroupint2002The GID used by the Confluence docker image GID will default to 2002 if not supplied and securityContextEnabled is set to true. This is intended to ensure that the shared-home volume is group-writeable by the GID used by the Confluence container. However, this doesn't appear to work for NFS volumes due to a K8s bug: https://github.com/kubernetes/examples/issues/260
confluence.securityContext.fsGroupChangePolicystring"OnRootMismatch"fsGroupChangePolicy defines behavior for changing ownership and permission of the volume before being exposed inside a Pod. This field only applies to volume types that support fsGroup controlled ownership and permissions. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
confluence.securityContextEnabledbooltrueWhether to apply security context to pod.
confluence.seraphConfigobject{"autoLoginCookieAge":"1209600","generateByHelm":false}By default seraph-config.xml is generated in the container entrypoint from a template shipped with an official Confluence image. However, seraph-config.xml generation may fail if container is not run as root, which is a common case if Confluence is deployed to OpenShift.
confluence.seraphConfig.generateByHelmboolfalseMount seraph-config.xml as a ConfigMap. Override configuration elements if necessary
confluence.service.annotationsobject{}Additional annotations to apply to the Service
confluence.service.contextPathstringnilThe Tomcat context path that Confluence will use. The ATL_TOMCAT_CONTEXTPATH will b

Deploy confluence with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has confluence on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartconfluence is pinned at v2.0.22 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply