Alfresco Sync Service
Repository | Name | Version |
---|---|---|
file://../alfresco-content-common | alfresco-content-common | 0.1.0 |
https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami/ | common | 1.x.x |
Key | Type | Default | Description |
---|---|---|---|
contentServices.installationName | string | nil |
Specify when installing as a standalone chart, not as a subchart of ACS. This variable will be used to construct the correct hostname for ACS and ActiveMQ |
database | object | {"existingSecret":null,"external":false} |
Defines properties required by sync service for connecting to the database Note! : If you set database.external to true you will have to setup the JDBC driver, user, password and JdbcUrl as driver , user , password & url subelements of database . Also make sure that the container has the db driver in TODO - add container path |
global | object | {"alfrescoRegistryPullSecrets":"quay-registry-secret","strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}}} |
Global definition of Docker registry pull secret which can be overridden from parent ACS Helm chart(s) |
ingress.extraAnnotations | string | nil |
useful when running Sync service without SSL termination done by a load balancer, e.g. when ran on Minikube for testing purposes |
ingress.tls | list | [] |
|
initContainers.activemq.image.pullPolicy | string | "IfNotPresent" |
|
initContainers.activemq.image.repository | string | "bash" |
|
initContainers.activemq.image.tag | string | "5.1.16" |
|
initContainers.activemq.resources.limits.memory | string | "10Mi" |
|
initContainers.activemq.resources.requests.memory | string | "5Mi" |
|
initContainers.postgres.image.pullPolicy | string | "IfNotPresent" |
|
initContainers.postgres.image.repository | string | "busybox" |
|
initContainers.postgres.image.tag | string | "1.35.0" |
|
initContainers.postgres.resources.limits.memory | string | "10Mi" |
|
initContainers.postgres.resources.requests.memory | string | "5Mi" |
|
messageBroker | object | {"existingSecret":null,"url":null} |
messageBroker object allow to pass ActiveMQ connection details. url : provides URI formatted string (see https://activemq.apache.org/failover-transport-reference) user : username to authenticate as. password : credential to use to authenticate to the broker. existingSecret: secret holding details of external message broker. If you pass in the existingSecret value, the secret should have ACTIVEMQ_URL, ACTIVEMQ_USERNAME ACTIVEMQ_PASSWORD, SPRING_ACTIVEMQ_URL, SPRING_ACTIVEMQ_USERNAME and SPRING_ACTIVEMQ_PASSWORD set. |
nodeSelector | object | {} |
|
postgresql-syncservice.enabled | bool | true |
If true, install the postgresql chart alongside Alfresco Sync service. Note: Set this to false if you use an external database. |
postgresql-syncservice.image.pullPolicy | string | "IfNotPresent" |
|
postgresql-syncservice.image.tag | string | "11.7.0" |
|
postgresql-syncservice.name | string | "postgresql-syncservice" |
|
postgresql-syncservice.nameOverride | string | "postgresql-syncservice" |
|
postgresql-syncservice.postgresConfig.log_min_messages | string | "LOG" |
|
postgresql-syncservice.postgresConfig.max_connections | int | 450 |
|
postgresql-syncservice.postgresqlDatabase | string | "syncservice-postgresql" |
|
postgresql-syncservice.postgresqlPassword | string | "admin" |
|
postgresql-syncservice.postgresqlUsername | string | "alfresco" |
|
postgresql-syncservice.replicaCount | int | 1 |
|
postgresql-syncservice.resources.limits.memory | string | "1500Mi" |
|
postgresql-syncservice.resources.requests.memory | string | "1500Mi" |
|
postgresql-syncservice.service.port | int | 5432 |
|
replicaCount | int | 1 |
|
repository.host | string | "alfresco-cs-repository" |
|
repository.port | int | 80 |
|
syncservice.enabled | bool | true |
|
syncservice.environment.EXTRA_JAVA_OPTS | string | "" |
|
syncservice.environment.JAVA_OPTS | string | "-Dsync.metrics.reporter.graphite.enabled=false -Dsync.metrics.reporter.graphite.address=127.0.0.1 -Dsync.metrics.reporter.graphite.port=2003 -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" |
|
syncservice.horizontalPodAutoscaling.CPU.enabled | bool | true |
|
syncservice.horizontalPodAutoscaling.CPU.targetAverageUtilization | int | 80 |
|
syncservice.horizontalPodAutoscaling.enabled | bool | true |
|
syncservice.horizontalPodAutoscaling.maxReplicas | int | 3 |
|
syncservice.horizontalPodAutoscaling.memory.enabled | bool | true |
|
syncservice.horizontalPodAutoscaling.memory.targetAverageUtilization | int | 60 |
For the memory a lower threshold(60) for the targetAverageUtilization is needed. We need to allow the resource metrics to be queried by the metrics-server, before the pod is killed # by Kubernetes due to reaching memory limits(the infamous message one might see in the pod events history. "Terminated: OOMKilled"). The metrics are checked every 15 seconds by # # default, configured by the global cluster flag --horizontal-pod-autoscaler-sync-period |
syncservice.horizontalPodAutoscaling.minReplicas | int | 1 |
|
syncservice.image.internalPort | int | 9090 |
|
syncservice.image.pullPolicy | string | "IfNotPresent" |
|
syncservice.image.repository | string | "quay.io/alfresco/service-sync" |
|
syncservice.image.tag | string | "3.7.1-A1" |
|
syncservice.ingress.path | string | "/syncservice" |
|
syncservice.livenessProbe.initialDelaySeconds | int | 150 |
|
syncservice.livenessProbe.periodSeconds | int | 30 |
|
syncservice.livenessProbe.timeoutSeconds | int | 10 |
|
syncservice.readinessProbe.failureThreshold | int | 12 |
|
syncservice.readinessProbe.initialDelaySeconds | int | 20 |
|
syncservice.readinessProbe.periodSeconds | int | 10 |
|
syncservice.readinessProbe.timeoutSeconds | int | 10 |
|
syncservice.resources.limits.cpu | string | "2" |
|
syncservice.resources.limits.memory | string | "2000Mi" |
|
syncservice.resources.requests.cpu | string | "2" |
|
syncservice.resources.requests.memory | string | "2000Mi" |
|
syncservice.service.externalPort | int | 80 |
|
syncservice.service.name | string | "syncservice" |
|
syncservice.service.type | string | "NodePort" |
Please refer to the documentation for information on the Helm charts and deployment instructions.
Alfresco Sync Service
Repository | Name | Version |
---|---|---|
file://../alfresco-content-common | alfresco-content-common | 0.1.0 |
https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami/ | common | 1.x.x |
Key | Type | Default | Description |
---|---|---|---|
contentServices.installationName | string | nil |
Specify when installing as a standalone chart, not as a subchart of ACS. This variable will be used to construct the correct hostname for ACS and ActiveMQ |
database | object | {"existingSecret":null,"external":false} |
Defines properties required by sync service for connecting to the database Note! : If you set database.external to true you will have to setup the JDBC driver, user, password and JdbcUrl as driver , user , password & url subelements of database . Also make sure that the container has the db driver in TODO - add container path |
global | object | {"alfrescoRegistryPullSecrets":"quay-registry-secret","strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}}} |
Global definition of Docker registry pull secret which can be overridden from parent ACS Helm chart(s) |
ingress.extraAnnotations | string | nil |
useful when running Sync service without SSL termination done by a load balancer, e.g. when ran on Minikube for testing purposes |
ingress.tls | list | [] |
|
initContainers.activemq.image.pullPolicy | string | "IfNotPresent" |
|
initContainers.activemq.image.repository | string | "bash" |
|
initContainers.activemq.image.tag | string | "5.1.16" |
|
initContainers.activemq.resources.limits.memory | string | "10Mi" |
|
initContainers.activemq.resources.requests.memory | string | "5Mi" |
|
initContainers.postgres.image.pullPolicy | string | "IfNotPresent" |
|
initContainers.postgres.image.repository | string | "busybox" |
|
initContainers.postgres.image.tag | string | "1.35.0" |
|
initContainers.postgres.resources.limits.memory | string | "10Mi" |
|
initContainers.postgres.resources.requests.memory | string | "5Mi" |
|
messageBroker | object | {"existingSecret":null,"url":null} |
messageBroker object allow to pass ActiveMQ connection details. url : provides URI formatted string (see https://activemq.apache.org/failover-transport-reference) user : username to authenticate as. password : credential to use to authenticate to the broker. existingSecret: secret holding details of external message broker. If you pass in the existingSecret value, the secret should have ACTIVEMQ_URL, ACTIVEMQ_USERNAME ACTIVEMQ_PASSWORD, SPRING_ACTIVEMQ_URL, SPRING_ACTIVEMQ_USERNAME and SPRING_ACTIVEMQ_PASSWORD set. |
nodeSelector | object | {} |
|
postgresql-syncservice.enabled | bool | true |
If true, install the postgresql chart alongside Alfresco Sync service. Note: Set this to false if you use an external database. |
postgresql-syncservice.image.pullPolicy | string | "IfNotPresent" |
|
postgresql-syncservice.image.tag | string | "11.7.0" |
|
postgresql-syncservice.name | string | "postgresql-syncservice" |
|
postgresql-syncservice.nameOverride | string | "postgresql-syncservice" |
|
postgresql-syncservice.postgresConfig.log_min_messages | string | "LOG" |
|
postgresql-syncservice.postgresConfig.max_connections | int | 450 |
|
postgresql-syncservice.postgresqlDatabase | string | "syncservice-postgresql" |
|
postgresql-syncservice.postgresqlPassword | string | "admin" |
|
postgresql-syncservice.postgresqlUsername | string | "alfresco" |
|
postgresql-syncservice.replicaCount | int | 1 |
|
postgresql-syncservice.resources.limits.memory | string | "1500Mi" |
|
postgresql-syncservice.resources.requests.memory | string | "1500Mi" |
|
postgresql-syncservice.service.port | int | 5432 |
|
replicaCount | int | 1 |
|
repository.host | string | "alfresco-cs-repository" |
|
repository.port | int | 80 |
|
syncservice.enabled | bool | true |
|
syncservice.environment.EXTRA_JAVA_OPTS | string | "" |
|
syncservice.environment.JAVA_OPTS | string | "-Dsync.metrics.reporter.graphite.enabled=false -Dsync.metrics.reporter.graphite.address=127.0.0.1 -Dsync.metrics.reporter.graphite.port=2003 -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" |
|
syncservice.horizontalPodAutoscaling.CPU.enabled | bool | true |
|
syncservice.horizontalPodAutoscaling.CPU.targetAverageUtilization | int | 80 |
|
syncservice.horizontalPodAutoscaling.enabled | bool | true |
|
syncservice.horizontalPodAutoscaling.maxReplicas | int | 3 |
|
syncservice.horizontalPodAutoscaling.memory.enabled | bool | true |
|
syncservice.horizontalPodAutoscaling.memory.targetAverageUtilization | int | 60 |
For the memory a lower threshold(60) for the targetAverageUtilization is needed. We need to allow the resource metrics to be queried by the metrics-server, before the pod is killed # by Kubernetes due to reaching memory limits(the infamous message one might see in the pod events history. "Terminated: OOMKilled"). The metrics are checked every 15 seconds by # # default, configured by the global cluster flag --horizontal-pod-autoscaler-sync-period |
syncservice.horizontalPodAutoscaling.minReplicas | int | 1 |
|
syncservice.image.internalPort | int | 9090 |
|
syncservice.image.pullPolicy | string | "IfNotPresent" |
|
syncservice.image.repository | string | "quay.io/alfresco/service-sync" |
|
syncservice.image.tag | string | "3.7.1-A1" |
|
syncservice.ingress.path | string | "/syncservice" |
|
syncservice.livenessProbe.initialDelaySeconds | int | 150 |
|
syncservice.livenessProbe.periodSeconds | int | 30 |
|
syncservice.livenessProbe.timeoutSeconds | int | 10 |
|
syncservice.readinessProbe.failureThreshold | int | 12 |
|
syncservice.readinessProbe.initialDelaySeconds | int | 20 |
|
syncservice.readinessProbe.periodSeconds | int | 10 |
|
syncservice.readinessProbe.timeoutSeconds | int | 10 |
|
syncservice.resources.limits.cpu | string | "2" |
|
syncservice.resources.limits.memory | string | "2000Mi" |
|
syncservice.resources.requests.cpu | string | "2" |
|
syncservice.resources.requests.memory | string | "2000Mi" |
|
syncservice.service.externalPort | int | 80 |
|
syncservice.service.name | string | "syncservice" |
|
syncservice.service.type | string | "NodePort" |